Merge pull request #9 from dam09fr/patch-bdd
Fix Database class problems (double query execution)
This commit is contained in:
commit
405bafe9ca
|
@ -212,9 +212,6 @@
|
|||
$query .= $generted_in['QUERY'];
|
||||
$params = $generted_in['PARAMS'];
|
||||
|
||||
$req = $this->bdd->prepare($query);
|
||||
$req->execute($params);
|
||||
|
||||
return $this->runQuery($query, $params, self::ROWCOUNT);
|
||||
}
|
||||
|
||||
|
@ -1053,9 +1050,6 @@
|
|||
'email' => $email
|
||||
);
|
||||
|
||||
$req = $this->bdd->prepare($query);
|
||||
$req->execute($params);
|
||||
|
||||
return $this->runQuery($query, $params, self::FETCH);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue