Skip to content

Commit b98cf83

Browse files
committed
Merge pull request a1phanumeric#55 from CyrilCharlier/patch-1
Update class.DBPDO.php
2 parents a5e7683 + 044c7ec commit b98cf83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class.DBPDO.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function execute($query, $values = null){
5151
}else if(!is_array($values)){
5252
$values = array($values);
5353
}
54-
$stmt = $this->pdo->prepare($query);
54+
$stmt = $this->prep_query($query);
5555
$stmt->execute($values);
5656
return $stmt;
5757
}
@@ -91,4 +91,4 @@ function lastInsertId(){
9191
return $this->pdo->lastInsertId();
9292
}
9393

94-
}
94+
}

0 commit comments

Comments
 (0)