Commit adef1e23 authored by Edin Skoko's avatar Edin Skoko
Browse files

...

parent ec808910
Showing with 1 addition and 1 deletion
+1 -1
......@@ -18,7 +18,7 @@ class USER extends DB{
$stmt->bindParam(':inputPassword', $passwordHash);
$stmt->bindParam(':role', $role);
return $stmt->execute($data);
return $stmt->execute();
if (!$stmt) {
// Handle the error (e.g., log it, display an error message)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment