From 8b0cf6dbf2c3d775bdf7c3a3da8ccb8bd00c2a8e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Jan 2022 13:00:04 +0200 Subject: [PATCH] fix Error Method admin_account::delete::et2_process() does not exist --- api/src/Json/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Json/Request.php b/api/src/Json/Request.php index ad066ae753..851d118d99 100644 --- a/api/src/Json/Request.php +++ b/api/src/Json/Request.php @@ -127,8 +127,8 @@ class Request list($appName) = explode('_',$className); } - // Check for a real static method, avoid instanciation if it is - $m = new ReflectionMethod($menuaction); + // Check for a real static method, avoid instantiation if it is + $m = new ReflectionMethod($className.'::'.$functionName); if($m->isStatic()) { $ajaxClass = $className;