diff --git a/class.DBPDO.php b/class.DBPDO.php index 1fd2ea4..368d3b6 100644 --- a/class.DBPDO.php +++ b/class.DBPDO.php @@ -51,7 +51,7 @@ function execute($query, $values = null){ }else if(!is_array($values)){ $values = array($values); } - $stmt = $this->pdo->prepare($query); + $stmt = $this->prep_query($query); $stmt->execute($values); return $stmt; } @@ -91,4 +91,4 @@ function lastInsertId(){ return $this->pdo->lastInsertId(); } -} \ No newline at end of file +}