X-Git-Url: https://git.mxchange.org/?p=admin.git;a=blobdiff_plain;f=application%2Fadmin%2Fclass_ApplicationHelper.php;fp=application%2Fadmin%2Fclass_ApplicationHelper.php;h=b20f493611b2708645268d8fc56193e397626db9;hp=b949d7eee45d55e17d638146227c0ae93353bb9f;hb=dbf4c64b984a62d5d18bab0fca96a6f94f772d3f;hpb=44a58790d3cdc69e3cf8e54dfd85fe867d3c3ace diff --git a/application/admin/class_ApplicationHelper.php b/application/admin/class_ApplicationHelper.php index b949d7e..b20f493 100644 --- a/application/admin/class_ApplicationHelper.php +++ b/application/admin/class_ApplicationHelper.php @@ -211,8 +211,8 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication $requestInstance->setRequestElement('page', $commandName); } // END - if - // Get a resolver - $resolverClass = sprintf("%sControllerResolver", $this->convertToClassName($responseType)); + // Get a controller resolver + $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver'); $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this)); // Get a controller instance as well