projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit more work on the Greek translation.
[timetracker.git]
/
mobile
/
task_edit.php
diff --git
a/mobile/task_edit.php
b/mobile/task_edit.php
index
248167f
..
b454cbe
100644
(file)
--- a/
mobile/task_edit.php
+++ b/
mobile/task_edit.php
@@
-32,7
+32,7
@@
import('ttTeamHelper');
import('ttTaskHelper');
// Access check.
import('ttTaskHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team)
|| MODE_PROJECTS_AND_TASKS != $user->tracking_mode
) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
@@
-46,7
+46,7
@@
if ($request->isPost()) {
$cl_status = $request->getParameter('status');
$cl_projects = $request->getParameter('projects');
} else {
$cl_status = $request->getParameter('status');
$cl_projects = $request->getParameter('projects');
} else {
- $task = ttTaskHelper::get
Task
($cl_task_id);
+ $task = ttTaskHelper::get($cl_task_id);
$cl_name = $task['name'];
$cl_description = $task['description'];
$cl_status = $task['status'];
$cl_name = $task['name'];
$cl_description = $task['description'];
$cl_status = $task['status'];