projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjusted task_add.php and task_edit.php to operate with subgroups.
[timetracker.git]
/
WEB-INF
/
lib
/
ttOrgImportHelper.class.php
diff --git
a/WEB-INF/lib/ttOrgImportHelper.class.php
b/WEB-INF/lib/ttOrgImportHelper.class.php
index
ec5593c
..
b5a28c8
100644
(file)
--- a/
WEB-INF/lib/ttOrgImportHelper.class.php
+++ b/
WEB-INF/lib/ttOrgImportHelper.class.php
@@
-181,7
+181,9
@@
class ttOrgImportHelper {
if ($task_id) {
// Add a mapping.
$this->currentGroupTaskMap[$attrs['ID']] = $task_id;
if ($task_id) {
// Add a mapping.
$this->currentGroupTaskMap[$attrs['ID']] = $task_id;
- } else $this->errors->add($i18n->get('error.db'));
+ } else {
+ $this->errors->add($i18n->get('error.db'));
+ }
return;
}
return;
}
@@
-205,7
+207,9
@@
class ttOrgImportHelper {
if ($project_id) {
// Add a mapping.
$this->currentGroupProjectMap[$attrs['ID']] = $project_id;
if ($project_id) {
// Add a mapping.
$this->currentGroupProjectMap[$attrs['ID']] = $project_id;
- } else $this->errors->add($i18n->get('error.db'));
+ } else {
+ $this->errors->add($i18n->get('error.db'));
+ }
return;
}
return;
}