]> git.mxchange.org Git - admin.git/blobdiff - application/admin/class_ApplicationHelper.php
Set command name in request to prevent some strange errors
[admin.git] / 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