commit 63f03d733d6333a670b2498c47051d5818a497df
parent 310361f0b88c997b9c9db6cd2a6d4fed57fa29eb
Author: William Lindholm <william_lindholm@outlook.com>
Date: Tue, 3 Oct 2023 15:56:32 +0000
Removed unnucessary if-statement.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/procedureHandler.php b/utils/procedureHandler.php
@@ -16,7 +16,7 @@
$stmt = $pdo->prepare($sql);
- if (!$stmt->execute(array_values($postData)));
+ $stmt->execute(array_values($postData));
}
} catch(PDOException $e) {
echo "Error: " . $e->getMessage();