summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/auth.php1
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} =='@'){