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();