BUG 15709 Can't create/update additional/existing calendars SOLVED
This commit is contained in:
@@ -186,13 +186,15 @@ class adminProxy extends HttpProxyController
|
|||||||
$message = G::loadTranslation('ID_CALENDAR_INVALID_NAME');
|
$message = G::loadTranslation('ID_CALENDAR_INVALID_NAME');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ($aDefinitions['CALENDAR_NAME'] != $_POST['name']) {
|
if (isset($aDefinitions['CALENDAR_NAME'])) {
|
||||||
$validated = true;
|
if ($aDefinitions['CALENDAR_NAME'] != $_POST['name']) {
|
||||||
} else {
|
$validated = true;
|
||||||
if ($aDefinitions['CALENDAR_NAME'] != $oldName) {
|
} else {
|
||||||
$validated = false;
|
if ($aDefinitions['CALENDAR_NAME'] != $oldName) {
|
||||||
$message = G::loadTranslation('ID_CALENDAR_INVALID_NAME');
|
$validated = false;
|
||||||
break;
|
$message = G::loadTranslation('ID_CALENDAR_INVALID_NAME');
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user