From fdf4aa18f8fe3451d457051699a737c89bccdf28 Mon Sep 17 00:00:00 2001 From: lsmith Date: Sun, 2 Mar 2008 16:51:09 +0000 Subject: [PATCH] - implode expects an array() --- lib/Doctrine/Task/Dql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Task/Dql.php b/lib/Doctrine/Task/Dql.php index 720f9eeff..0f706399f 100644 --- a/lib/Doctrine/Task/Dql.php +++ b/lib/Doctrine/Task/Dql.php @@ -46,7 +46,7 @@ class Doctrine_Task_Dql extends Doctrine_Task $query = new Doctrine_Query(); $params = $this->getArgument('params'); - $params = $params ? explode(',', $params):null; + $params = $params ? explode(',', $params):array(); $this->notify('executing: "' . $dql . '" (' . implode(', ', $params) . ')');