projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed commented out lines.
[timetracker.git]
/
WEB-INF
/
lib
/
ttTeamHelper.class.php
diff --git
a/WEB-INF/lib/ttTeamHelper.class.php
b/WEB-INF/lib/ttTeamHelper.class.php
index
52f24fc
..
3dba92a
100644
(file)
--- a/
WEB-INF/lib/ttTeamHelper.class.php
+++ b/
WEB-INF/lib/ttTeamHelper.class.php
@@
-754,9
+754,6
@@
class ttTeamHelper {
// The update function updates team information.
static function update($team_id, $fields)
{
// 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']) || $fields['name'] == "") return false;
-
$mdb2 = getConnection();
$name_part = 'name = '.$mdb2->quote($fields['name']);
$currency_part = '';
$mdb2 = getConnection();
$name_part = 'name = '.$mdb2->quote($fields['name']);
$currency_part = '';