projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added code to migrate legacy role on user entry to the system.
[timetracker.git]
/
WEB-INF
/
lib
/
ttRoleHelper.class.php
diff --git
a/WEB-INF/lib/ttRoleHelper.class.php
b/WEB-INF/lib/ttRoleHelper.class.php
index
6a4f33b
..
3ed85c3
100644
(file)
--- a/
WEB-INF/lib/ttRoleHelper.class.php
+++ b/
WEB-INF/lib/ttRoleHelper.class.php
@@
-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;
}