]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttRoleHelper.class.php
Fixed user edit.
[timetracker.git] / WEB-INF / lib / ttRoleHelper.class.php
index 6a4f33bc97ea8bf3e4651acf8e5e155de4102d30..3ed85c3d560b9c7cd463d153b6813f83b6239a75 100644 (file)
@@ -141,7 +141,7 @@ class ttRoleHelper {
     if (!is_a($res, 'PEAR_Error')) {
       $val = $res->fetchRow();
       if ($val['id'])
-        return $val;
+        return $val['id'];
     }
     return false;
   }