projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit of ongoing cleanup after roles revamp.
[timetracker.git]
/
mobile
/
expenses.php
diff --git
a/mobile/expenses.php
b/mobile/expenses.php
index
815a4fc
..
c853a2c
100644
(file)
--- a/
mobile/expenses.php
+++ b/
mobile/expenses.php
@@
-200,7
+200,7
@@
if ($request->isPost()) {
$err->add($i18n->get('error.db'));
}
} elseif ($request->getParameter('onBehalfUser')) {
$err->add($i18n->get('error.db'));
}
} elseif ($request->getParameter('onBehalfUser')) {
- if($user->can
ManageTeam(
)) {
+ if($user->can
('track_expenses'
)) {
unset($_SESSION['behalf_id']);
unset($_SESSION['behalf_name']);
unset($_SESSION['behalf_id']);
unset($_SESSION['behalf_name']);