Merged r3830 to trunk and 0.9 branch. Bug was originally fixed in the 0.10 branch first
This commit is contained in:
parent
59e7ac2c43
commit
a8c5542f8f
@ -45,11 +45,12 @@ class Doctrine_Task_Dql extends Doctrine_Task
|
||||
|
||||
$query = new Doctrine_Query();
|
||||
|
||||
$params = explode(',', $this->getArgument('params'));
|
||||
$params = $this->getArgument('params');
|
||||
$params = $params ? explode(',', $params):null;
|
||||
|
||||
$this->notify('executing: "' . $dql . '" (' . implode(', ', $params) . ')');
|
||||
|
||||
$results = $query->query($dql, $params);
|
||||
$results = $query->query($dql);
|
||||
|
||||
$this->_printResults($results);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user