- implode expects an array()
This commit is contained in:
parent
4a069d8f31
commit
fdf4aa18f8
@ -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) . ')');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user