[dokuwiki] auth/pgsql, error in addUserGroup

  • From: sf-devel@xxxxxxxxxxxxx
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 25 Feb 2009 15:34:49 +0100

there is a broken str_replace in dokuwiki/inc/auth/pgsql.class.php wich
leads to an error wrong parameter count for str_replace.

patch attached
New patches:

[auth-pgsql-fix
sf@xxxxxxxxxxxxx**20090223220336] {
hunk ./inc/auth/pgsql.class.php 199
-            $sql = str_replace('%{uid}', $sql);
+            $sql = str_replace('%{uid}', $uid, $sql);
}

Context:

[fixed error reporting in XMLRPC client
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090221125206
 Ignore-this: 4d1b83deb38aa6192cfe53cecdc6b6f6
] 
[XMLRPC lock or unlock a whole bunch of pages
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090220184624
 Ignore-this: d7bb2a80532df444e1ee8e60e3a7b653
] 
[do not use error supression but check for file existance in plugin controller
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090220084815
 Ignore-this: b796ce104bb86a05e8bca1c900ef99d8
] 
[additional custom dokuwiki.* methods in XMLRPC
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090219214505] 
[more flexible page listing method in search.php
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090219214345] 
[Russian language fix
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090220080634
 Ignore-this: dd9c99042bf493bada69288585e9a223
] 
[Norwegian language update
Knut Staring <knutst@xxxxxxxxx>**20090220080338
 Ignore-this: 48436367d7eda69954d9b3ee73ad31b8
] 
[Polish language update
Grzegorz Zur**20090217192753
 Ignore-this: 9bc5d6dbe24562df4cd43edfbd2e789f
] 
[suppress errors when trying to load a non existant plugin
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090216180324
 Ignore-this: 21eafbc145c8abfeb8450d9a1234bae1
] 
[highlight section on section edit button mouseover
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090214161135
 Ignore-this: 128d5873729a0a00558465b45d5d9f58
 
 Some people seem to have problems to see which section will be edited when
 using a section editing button. This patch adds a litle bit JavaScript magic
 to highlight the edited section to be, when hovering over a section button.
] 
[FS#1609, adjust multiplyentity pattern to not match strings that start "0x"
Chris Smith <chris.eureka@xxxxxxxxxxxxx>**20090215111954] 
[Persian language update
Omid Mottaghi <omidmr@xxxxxxxxx>**20090216165259
 Ignore-this: 44a2e173c2c525bcecb0d8ddb0b9bcfd
] 
[Persian language update
Omid Mottaghi <omidmr@xxxxxxxxx>**20090214161905
 Ignore-this: 80b625b4a39988591a318752948be55e
] 
[release preparations
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090214120815
 Ignore-this: 93da548cc8b7ac9371d391b9a78005a8
] 
[TAG release stable 2009-02-14
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20090214130911] 
Patch bundle hash:
6f9dde464371595b7976ed77fbd758361a41f419

Other related posts: