diff --git a/index.php b/index.php index b11cf25..7f7a4a3 100755 --- a/index.php +++ b/index.php @@ -21,8 +21,8 @@ $stmt2->execute(); $stmt2->store_result(); $stmt20 = $mysqli->prepare("DELETE FROM Chat WHERE Timestamp < (CURRENT_TIMESTAMP - 86400);"); -$stmt2->execute(); -$stmt2->store_result(); +$stmt20->execute(); +$stmt20->store_result(); if (!empty($_GET["adder"])){