From: Julien HEYMAN Date: Fri, 6 Mar 2009 10:48:12 +0000 (+0000) Subject: Fixed a bug. When we update project info but the name not changed, we have an error X-Git-Tag: v4_8_rc1~222 X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=commitdiff_plain;h=f5de81df8e70cbc6857d0a17b73bfed065eae930;ds=sidebyside Fixed a bug. When we update project info but the name not changed, we have an error --- diff --git a/gforge/common/include/Group.class.php b/gforge/common/include/Group.class.php index 3786f3aa63..cd54962916 100644 --- a/gforge/common/include/Group.class.php +++ b/gforge/common/include/Group.class.php @@ -504,8 +504,10 @@ class Group extends Error { } // Validate some values - if (!$this->validateGroupName($group_name)) { - return false; + if ($this->getPublicName() != $group_name) { + if (!$this->validateGroupName($group_name)) { + return false; + } } if ($new_doc_address) {