X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/aa54f082eb63cdd420733b79c5ec8a8f02def11c..b0adefe1eed972a27be939b6c66aec6c3c6b2f18:/WEB-INF/lib/ttTeamHelper.class.php diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 5091c1f9..6920ab35 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -1100,7 +1100,7 @@ class ttTeamHelper { $plugins = implode(',', $plugin_array); if ($plugins != $user->plugins) { - if (!ttTeamHelper::update($user->group_id, array('name' => $user->team,'plugins' => $plugins))) + if (!ttTeamHelper::update($user->group_id, array('name' => $user->group,'plugins' => $plugins))) return false; $user->plugins = $plugins; }