From: Hypolite Petovan Date: Sun, 15 Jan 2023 14:42:18 +0000 (-0500) Subject: Remove App dependency from addon admin form method X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e4663e74772c0d19756511bf6503a0f44ee846f;p=friendica.git Remove App dependency from addon admin form method --- 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');