Browse Source

Fixing undefined variable error

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5033 3807eeeb-6ff5-0310-8944-8be069107fe0
dho 19 years ago
parent
commit
d0961d5871
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cake/console/cake.php

+ 1 - 1
cake/console/cake.php

@@ -262,7 +262,7 @@ class ConsoleDispatcher {
 
 				if (!$loaded) {
 					$this->stdout('Unable to dispatch requested script: ', false);
-					$this->stdout("'{$script}.php' does not exist in: \n" . implode("\nor ", $this->scriptPaths));
+					$this->stdout("'".$this->script.".php' does not exist in: \n" . implode("\nor ", $this->scriptPaths));
 					exit();
 				} else {
 					require CONSOLE_LIBS . 'cake_script.php';