projects
/
fusionforge
/
fusionforge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug. When we update project info but the name not changed, we have an error
[fusionforge/fusionforge.git]
/
gforge
/
common
/
include
/
Group.class.php
diff --git
a/gforge/common/include/Group.class.php
b/gforge/common/include/Group.class.php
index 3786f3aa6367d7ae011920b4e16106bae44808ad..cd5496291672fa4c35f53f358f5ca53e9089dfdb 100644
(file)
--- 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) {