Commit 53c44522 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Work around what looks like a reference bug:

	    $result["$uid_idx"][] =& $group;

this trashes the array pretty badly, although I am still new to php
references, so maybe this is expected. Anyway, I removed the
reference.  Nice that php5 does references the way most programmers
would expect them to behave :-)
parent 121dee90
......@@ -1041,7 +1041,7 @@ class User
if (! array_key_exists("$uid_idx", $result)) {
$result["$uid_idx"] = array();
$result["$uid_idx"][] =& $group;
$result["$uid_idx"][] = $group;
return $result;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment