From: Alexander Ebert Date: Tue, 23 Jul 2013 11:15:04 +0000 (+0200) Subject: Fixed invoking of singleton methods X-Git-Tag: 2.0.0_Beta_5~11^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a3f1dfe5bbe8817d4db5c9b92b4e809f841658e;p=GitHub%2FWoltLab%2FWCF.git Fixed invoking of singleton methods --- diff --git a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php index 0daddf1f76..cc8d364fb6 100644 --- a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php @@ -133,7 +133,7 @@ class AJAXInvokeAction extends AbstractSecureAction { // check for validate method $validateMethod = 'validate'.ucfirst($this->actionName); - if (method_exists($this->actionObject, $this->actionName)) { + if (method_exists($this->actionObject, $validateMethod)) { $this->actionObject->{$validateMethod}(); }