diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 13:28:51 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 13:28:51 +0100 |
commit | 3178426797da3e426be572a7681c3595d2166390 (patch) | |
tree | a1a001047855271553602687b0da52c546480d04 | |
parent | f78bd5f206acad6af0da10ea392333a33d50b687 (diff) | |
download | rpg-3178426797da3e426be572a7681c3595d2166390.tar.gz rpg-3178426797da3e426be572a7681c3595d2166390.tar.bz2 |
make sure cachekey is a string in auth_nameencode FS#1000
darcs-hash:20070106122851-7ad00-9b3b2923e2f917107b29c4dacfc1047b2845a5db.gz
-rw-r--r-- | inc/auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php index 9c0225e4b..ef1891627 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -438,6 +438,7 @@ function auth_aclcheck($id,$user,$groups){ function auth_nameencode($name,$skip_group=false){ global $cache_authname; $cache =& $cache_authname; + $name = (string) $name; if (!isset($cache[$name][$skip_group])) { if($skip_group && $name{0} =='@'){ |