Compare commits
1 Commits
v1.0.2
...
8cf7370cae
| Author | SHA1 | Date | |
|---|---|---|---|
| 8cf7370cae |
@@ -255,7 +255,7 @@ class OrganisationController extends SimpleController
|
||||
// Check if name or slug already exists
|
||||
if (
|
||||
isset($data['name']) &&
|
||||
$data['name'] != $organisation->name &&
|
||||
strtolower($data['name']) != strtolower($organisation->name) &&
|
||||
$classMapper->getClassMapping('organisation')::findUnique($data['name'], 'name')
|
||||
) {
|
||||
$ms->addMessageTranslated('danger', 'ORGANISATION.NAME.IN_USE', $data);
|
||||
|
||||
Reference in New Issue
Block a user