diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php index e4968671b..f7b4ee16c 100644 --- a/lib/Doctrine/Connection.php +++ b/lib/Doctrine/Connection.php @@ -815,7 +815,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun */ public function exec($query, array $params = array()) { $this->connect(); - print $query . print_r($params, true) . "
"; + try { if ( ! empty($params)) { $stmt = $this->prepare($query);