From df5fd8160f6efca3cf3b45e3be7f7fb6a1405ae1 Mon Sep 17 00:00:00 2001 From: gwoo Date: Fri, 23 May 2008 15:17:13 +0000 Subject: [PATCH] fixing undefined paths variable in console git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7029 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/cake.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/console/cake.php b/cake/console/cake.php index 78473a386..4b62ba00e 100644 --- a/cake/console/cake.php +++ b/cake/console/cake.php @@ -264,6 +264,8 @@ class ShellDispatcher { $this->help(); } else { $loaded = false; + $paths = array(); + if ($plugin !== null) { $pluginPaths = Configure::read('pluginPaths'); $count = count($pluginPaths);