$plugins = implode(',', $plugin_array);
if ($plugins != $user->plugins) {
- return ttTeamHelper::update($user->team_id, array(
- 'name' => $user->team,
- 'plugins' => $plugins));
+ if (!ttTeamHelper::update($user->team_id, array('name' => $user->team,'plugins' => $plugins)))
+ return false;
+ $user->plugins = $plugins;
}
+
return true;
}
}
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.17.10.3865 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.17.10.3866 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
// +----------------------------------------------------------------------+
require_once('initialize.php');
-require_once('plugins/MonthlyQuota.class.php');
import('form.Form');
import('ttTeamHelper');
-import('ttTimeHelper');
// Access check.
if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('wv')) {