From c55cff6e4530209b5a82a9523af6ebc46ccc1dfb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:55:06 +0200 Subject: [PATCH] Update play.php --- scripts/play.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/play.php b/scripts/play.php index e610c20..a762002 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -32,8 +32,7 @@ if(isset($_GET['deletefile'])) { echo "Error - file deletion failed : " . implode(", ", $output) . "
"; } $result1 = $statement1->execute(); - if ($result1 === false || $db_writable -->changes() === 0) { + if ($result1 === false || $db_writable->changes() === 0) { echo "Error - database line deletion failed : " . $db_writable->lastErrorMsg(); } $db_writable->close();