projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed import for subgroups.
[timetracker.git]
/
WEB-INF
/
lib
/
ttClientHelper.class.php
diff --git
a/WEB-INF/lib/ttClientHelper.class.php
b/WEB-INF/lib/ttClientHelper.class.php
index
0c12a95
..
eeb77f7
100644
(file)
--- a/
WEB-INF/lib/ttClientHelper.class.php
+++ b/
WEB-INF/lib/ttClientHelper.class.php
@@
-195,7
+195,7
@@
class ttClientHelper {
if (count($projects) > 0)
foreach ($projects as $p_id) {
if (count($projects) > 0)
foreach ($projects as $p_id) {
- $sql = "insert into tt_client_project_binds (client_id, project_id
) values($last_id, $p
_id)";
+ $sql = "insert into tt_client_project_binds (client_id, project_id
, group_id, org_id) values($last_id, $p_id, $group_id, $org
_id)";
$affected = $mdb2->exec($sql);
if (is_a($affected, 'PEAR_Error'))
return false;
$affected = $mdb2->exec($sql);
if (is_a($affected, 'PEAR_Error'))
return false;