not showing archived posts
This commit is contained in:
parent
39ed833d68
commit
769ebac593
@ -15,7 +15,7 @@ if ($out -> num_rows != 1)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out = $database -> query("SELECT title, description, photo_id, author FROM post ORDER BY id DESC");
|
$out = $database -> query("SELECT title, description, photo_id, author FROM post WHERE archived=0 ORDER BY id DESC");
|
||||||
|
|
||||||
$output = array();
|
$output = array();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user