Refactoring. Renamed team_id fields to become group_id.
[timetracker.git] / mobile / clients.php
index 43e6848..4f03510 100644 (file)
@@ -40,8 +40,8 @@ if (!$user->isPluginEnabled('cl')) {
   exit();
 }
 
-$smarty->assign('active_clients', ttTeamHelper::getActiveClients($user->team_id, true));
-$smarty->assign('inactive_clients', ttTeamHelper::getInactiveClients($user->team_id, true));
+$smarty->assign('active_clients', ttTeamHelper::getActiveClients($user->group_id, true));
+$smarty->assign('inactive_clients', ttTeamHelper::getInactiveClients($user->group_id, true));
 $smarty->assign('title', $i18n->get('title.clients'));
 $smarty->assign('content_page_name', 'mobile/clients.tpl');
 $smarty->display('mobile/index.tpl');