typo fix
This commit is contained in:
parent
b9936781d5
commit
c0019f1d6a
@ -23,4 +23,4 @@ $safe_post_id = mysqli_real_escape_string($database, $_GET["post_id"]);
|
||||
|
||||
$id = (($database -> query("SELECT id FROM user WHERE username=\"" . $safe_username . "\"")) -> fetch_assoc())["id"];
|
||||
|
||||
$database -> query("UPDATE post SET archived=1 WHERE author=" . $id . " AND photo_id=" . $safe_post_id);
|
||||
$database -> query("UPDATE post SET archived=1 WHERE author=" . $id . " AND photo_id=\"" . $safe_post_id . "\"");
|
Loading…
x
Reference in New Issue
Block a user