Remove App dependency from addon admin form method

This commit is contained in:
Hypolite Petovan 2023-01-15 09:42:18 -05:00
parent d63aca97b8
commit 6e4663e747

View file

@ -102,7 +102,7 @@ class Details extends BaseAdmin
if (array_key_exists($addon, $addons_admin)) {
require_once "addon/$addon/$addon.php";
$func = $addon . '_addon_admin';
$func($a, $admin_form);
$func($admin_form);
}
$t = Renderer::getMarkupTemplate('admin/addons/details.tpl');