This commit is contained in:
parent
13941a6b86
commit
3fe5b807a1
@ -815,7 +815,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
|
|||||||
*/
|
*/
|
||||||
public function exec($query, array $params = array()) {
|
public function exec($query, array $params = array()) {
|
||||||
$this->connect();
|
$this->connect();
|
||||||
print $query . print_r($params, true) . "<br>";
|
|
||||||
try {
|
try {
|
||||||
if ( ! empty($params)) {
|
if ( ! empty($params)) {
|
||||||
$stmt = $this->prepare($query);
|
$stmt = $this->prepare($query);
|
||||||
|
Loading…
Reference in New Issue
Block a user