Skip to content

Commit 9fd8208

Browse files
committed
- Changes Database-Interface
1 parent db6bbac commit 9fd8208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Databases/MySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function prepare($query) {
5757
* @return int
5858
*/
5959
public function exec($query, array $params = array()) {
60-
$stmt = $this->pdo->query($query);
60+
$stmt = $this->pdo->prepare($query);
6161
$stmt->execute($params);
6262
$result = $stmt->rowCount();
6363
$stmt->closeCursor();

0 commit comments

Comments
 (0)