Fehlermeldungen
This commit is contained in:
parent
1357e21155
commit
add9a27630
@ -86,6 +86,7 @@ class BenutzerModel extends Database
|
||||
$stmt = $pdo->prepare($sql);
|
||||
$stmt->execute($params);
|
||||
} catch (\PDOException $e) {
|
||||
echo "Faulty Sql? " . $sql;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -105,6 +106,7 @@ class BenutzerModel extends Database
|
||||
$stmt = $pdo->prepare($sql);
|
||||
$stmt->execute();
|
||||
} catch (\PDOException $e) {
|
||||
echo "Faulty Sql? " . $sql;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user