Merge pull request #12678 from MrPetovan/bug/12677-addon_admin
Remove App dependency from addon admin form methodpull/12679/head
commit
dd6d96d048
|
@ -102,7 +102,7 @@ class Details extends BaseAdmin
|
||||||
if (array_key_exists($addon, $addons_admin)) {
|
if (array_key_exists($addon, $addons_admin)) {
|
||||||
require_once "addon/$addon/$addon.php";
|
require_once "addon/$addon/$addon.php";
|
||||||
$func = $addon . '_addon_admin';
|
$func = $addon . '_addon_admin';
|
||||||
$func($a, $admin_form);
|
$func($admin_form);
|
||||||
}
|
}
|
||||||
|
|
||||||
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
|
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
|
||||||
|
|
Loading…
Reference in New Issue