From 6e4663e74772c0d19756511bf6503a0f44ee846f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 15 Jan 2023 09:42:18 -0500 Subject: [PATCH] Remove App dependency from addon admin form method --- src/Module/Admin/Addons/Details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Admin/Addons/Details.php b/src/Module/Admin/Addons/Details.php index 9bca70a203..6786d89eea 100644 --- a/src/Module/Admin/Addons/Details.php +++ b/src/Module/Admin/Addons/Details.php @@ -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'); -- 2.39.5