From 725d5bd358b2ee204e4298d2634d1a0f9a62654b Mon Sep 17 00:00:00 2001 From: anuko Date: Sat, 11 Mar 2017 22:47:05 +0000 Subject: [PATCH] Fixed team update when team name is empty. --- WEB-INF/lib/ttTeamHelper.class.php | 2 +- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 52f24fc6..c006e33a 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -755,7 +755,7 @@ class ttTeamHelper { static function update($team_id, $fields) { // We'll require team name to be always set. - if (!isset($fields['name']) || $fields['name'] == "") return false; +// if (!isset($fields['name']) || $fields['name'] == "") return false; $mdb2 = getConnection(); $name_part = 'name = '.$mdb2->quote($fields['name']); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 003509d7..cd2f92a7 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.38.3622 | Copyright © Anuko | +  Anuko Time Tracker 1.10.39.3623 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1