Set command name in request to prevent some strange errors
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 08:18:59 +0000 (08:18 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 08:18:59 +0000 (08:18 +0000)
application/admin/class_ApplicationHelper.php

index 4f8c07f14009908024d219c016afd6d3e10a4a59..12651bdd283750809e340e9061b3d31ee9ece716 100644 (file)
@@ -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