Added notice to the compiler where it detects mismatching category view target names. Added the update script for categories in JCB. Made adjustments all across JCB to act according to gh-561 implementation.

This commit is contained in:
Llewellyn committed 2020-05-30 20:49:13 +02:00
1 parent f2b2228dd7
commit 70635ff6f0
15 files changed
+154 -58

No files matched your search

+2 -2
View File
@@ -85,8 +85,8 @@ abstract class ComponentbuilderHelperRoute
}
$views = array(
"com_componentbuilder.fields" => "field",
"com_componentbuilder.fieldtypes" => "fieldtype");
"com_componentbuilder.field" => "field",
"com_componentbuilder.fieldtype" => "fieldtype");
$view = $views[$category->extension];
if ($id < 1 || !($category instanceof JCategoryNode))