summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2010-03-08 15:31:16 +0800
committerCraig Andrews <candrews@integralblue.com>2010-03-08 13:15:49 -0500
commitef3991dbbe0acdba2dd7050b99f951ccfe5b8258 (patch)
tree98e969ef369b8dd7f277ee5a30acc894049db9ae /lib
parent3f696ff0ed4be5791edd38cf7b2a98a364b95676 (diff)
Fixed warning messages when auto-registering a new LDAP user.
On my test system (without memcache), while testing the LDAP authentication plugin, when I sign in for the first time, triggering auto-registration, I get these messages in the output page: Warning: ksort() expects parameter 1 to be array, null given in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php on line 219 Warning: Invalid argument supplied for foreach() in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php on line 224 Warning: assert() [function.assert]: Assertion failed in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php on line 241 (plus two "Cannot modify header information..." messages as a result of the above warnings) This change appears to fix this (although I can't really explain exactly why).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions