X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Flib%2FttProjectHelper.class.php;h=19e01d35c5b2cd85e701a9cd51a6b0b8adf23631;hb=11441db31dcbed7b2070e800bcb1b0e6547b86bd;hp=1ec21fe11c9e1869e7ace98895685d26729b79a3;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/lib/ttProjectHelper.class.php b/WEB-INF/lib/ttProjectHelper.class.php index 1ec21fe1..19e01d35 100644 --- a/WEB-INF/lib/ttProjectHelper.class.php +++ b/WEB-INF/lib/ttProjectHelper.class.php @@ -255,9 +255,9 @@ class ttProjectHelper { if(!in_array($row['user_id'], $users_to_bind)) { // Delete tt_user_project_binds record (safely). ttUserHelper::deleteBind($row['user_id'], $project_id); - } else if (!$row['status']) { + } elseif (!$row['status']) { // If we are here, status of the bind is not active. Memorize such users to update their bind status. - $users_to_update[] = $row['user_id']; // Users we need to update in tt_user_project_binds. + $users_to_update[] = $row['user_id']; // Users we need to update in tt_user_project_binds. } $all_users[] = $row['user_id']; // All users from tt_user_project_binds for project. } @@ -338,4 +338,3 @@ class ttProjectHelper { return $result; }*/ } -?> \ No newline at end of file