projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switched to using shorter ActionErrors functions
[timetracker.git]
/
mobile
/
time_delete.php
diff --git
a/mobile/time_delete.php
b/mobile/time_delete.php
index
be9d498
..
cd702f7
100644
(file)
--- a/
mobile/time_delete.php
+++ b/
mobile/time_delete.php
@@
-73,7
+73,7
@@
if ($request->getMethod() == 'POST') {
$errors->add($i18n->getKey('error.period_locked'));
}
- if ($errors->
isEmpty
()) {
+ if ($errors->
no
()) {
// Delete the record.
$result = ttTimeHelper::delete($cl_id, $user->getActiveUser());