Fehlermeldungen

This commit is contained in:
Samuel Wolff 2024-01-17 10:58:49 +01:00
parent 1357e21155
commit add9a27630

View File

@ -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;
}