Sometimes 'page' is wanted, sometimes 'command' but basicly both want a command
[core.git] / application / tests / class_ApplicationHelper.php
index 113fae8..c8b407a 100644 (file)
@@ -182,7 +182,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                // If it is null then get default command
                if (is_null($commandName)) {
                        // Get default command
-                       $commandName = $responseInstance->getDefaultCommand();
+                       $commandName = $responseInstance->determineDefaultCommand();
 
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);