X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttClientHelper.class.php;h=eeb77f77a993fe3246d793460671bad0e953c1bc;hb=7143cc6750a18461fcd29964c41f23b4cbd27d21;hp=0c12a9538de4b242a85ddcbbab1055c09f0f3486;hpb=0fdda830ba3e780c365c90e1fdfd5cfa7ed77244;p=timetracker.git diff --git a/WEB-INF/lib/ttClientHelper.class.php b/WEB-INF/lib/ttClientHelper.class.php index 0c12a953..eeb77f77 100644 --- 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) { - $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;