We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0d117 commit 297a455Copy full SHA for 297a455
1 file changed
qa-include/pages/admin/admin-categories.php
@@ -147,7 +147,7 @@
147
$errors['name'] = qa_lang_sub('main/max_length_x', QA_DB_MAX_CAT_PAGE_TITLE_LENGTH);
148
else {
149
foreach ($incategories as $category) {
150
- if (!strcmp($category['parentid'] ?? '', $inparentid) &&
+ if (!strcmp($category['parentid'] ?? '', $inparentid ?? '') &&
151
strcmp($category['categoryid'], $editcategory['categoryid'] ?? '') &&
152
qa_strtolower($category['title']) == qa_strtolower($inname)
153
) {
0 commit comments