Fixed issue in custom url validation
authorMarcel Werk <burntime@woltlab.com>
Thu, 16 Jun 2016 16:00:36 +0000 (18:00 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 16 Jun 2016 16:15:15 +0000 (18:15 +0200)
wcfsetup/install/files/lib/acp/form/PageEditForm.class.php

index 50071c20fe1484aee709fa7d1742bfcd9a4fd6c2..f6f5497a6349f7ed9c9bd45d78e153c4e84382d5 100644 (file)
@@ -101,7 +101,7 @@ class PageEditForm extends PageAddForm {
                        }
                }
                else {
-                       if ($customURL != $this->page->getPageContent()[$languageID]) {
+                       if (mb_strtolower($customURL) != mb_strtolower($this->page->getPageContent()[$languageID]['customURL'])) {
                                parent::validateCustomUrl($languageID, $customURL);
                        }
                }