PMCORE-3869

This commit is contained in:
Mauricio Veliz
2022-06-06 16:56:29 -04:00
parent b3f57c2fd8
commit c7f234a4e3
13 changed files with 26 additions and 20 deletions

View File

@@ -860,7 +860,7 @@ if (substr(SYS_COLLECTION, 0, 8) === 'gulliver') {
//if the method name is empty set default to index method
$controllerAction = SYS_TARGET != '' ? SYS_TARGET : 'index';
//if the method exists
if (is_callable(array(new $controllerClass, $controllerAction))) {
if (method_exists($controllerClass, $controllerAction)) {
$isControllerCall = true;
}