From f5de81df8e70cbc6857d0a17b73bfed065eae930 Mon Sep 17 00:00:00 2001 From: Julien HEYMAN Date: Fri, 6 Mar 2009 10:48:12 +0000 Subject: [PATCH] Fixed a bug. When we update project info but the name not changed, we have an error --- gforge/common/include/Group.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) { -- 2.30.2