From: Roland Häder Date: Sat, 18 Jul 2009 08:18:59 +0000 (+0000) Subject: Set command name in request to prevent some strange errors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56b5d278492052738fd71cc28f92d4a3ec3cb0e1;p=admin.git Set command name in request to prevent some strange errors --- diff --git a/application/admin/class_ApplicationHelper.php b/application/admin/class_ApplicationHelper.php index 4f8c07f..12651bd 100644 --- a/application/admin/class_ApplicationHelper.php +++ b/application/admin/class_ApplicationHelper.php @@ -201,7 +201,11 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication // If it is null then get default command if (is_null($commandName)) { + // Get default command $commandName = $responseInstance->getDefaultCommand(); + + // Set it in request + $requestInstance->setRequestElement('page'); } // END - if // Get a resolver