X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/70272dc970919c348288bd09ff835f05e7538949..55c8f6a2bce9518c28337b18823b8300d1875ab8:/WEB-INF/lib/ttTeamHelper.class.php diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index d037f863..1cf71d86 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -707,11 +707,11 @@ class ttTeamHelper { // The update function updates team information. static function update($team_id, $fields) { - // We'll require team name to be always set. - if (!isset($fields['name'])) return false; + // We'll require team name to be always set. + if (!isset($fields['name'])) return false; - $mdb2 = getConnection(); - $name_part = 'name = '.$mdb2->quote($fields['name']); + $mdb2 = getConnection(); + $name_part = 'name = '.$mdb2->quote($fields['name']); $currency_part = ''; $addr_part = ''; $locktime_part = '';