projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started to populate org_id furing creation of pre-defined roles.
[timetracker.git]
/
task_edit.php
diff --git
a/task_edit.php
b/task_edit.php
index
324f1db
..
feff4e5
100644
(file)
--- a/
task_edit.php
+++ b/
task_edit.php
@@
-48,7
+48,7
@@
if (!$task) {
}
// End of access checks.
}
// End of access checks.
-$projects = ttTeamHelper::getActiveProjects($user->
team
_id);
+$projects = ttTeamHelper::getActiveProjects($user->
group
_id);
if ($request->isPost()) {
$cl_name = trim($request->getParameter('name'));
if ($request->isPost()) {
$cl_name = trim($request->getParameter('name'));
@@
-101,7
+101,7
@@
if ($request->isPost()) {
if ($request->getParameter('btn_copy')) {
if (!ttTaskHelper::getTaskByName($cl_name)) {
if (ttTaskHelper::insert(array(
if ($request->getParameter('btn_copy')) {
if (!ttTaskHelper::getTaskByName($cl_name)) {
if (ttTaskHelper::insert(array(
- '
team_id' => $user->team
_id,
+ '
group_id' => $user->group
_id,
'name' => $cl_name,
'description' => $cl_description,
'status' => $cl_status,
'name' => $cl_name,
'description' => $cl_description,
'status' => $cl_status,