1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Merged r3830 to trunk and 0.9 branch. Bug was originally fixed in the 0.10 branch first

This commit is contained in:
jwage 2008-02-17 22:52:37 +00:00
parent 59e7ac2c43
commit a8c5542f8f

View File

@ -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);
}