included author in get_posts output
This commit is contained in:
parent
6d0fd13ea5
commit
97555013a1
@ -15,7 +15,7 @@ if ($out -> num_rows != 1)
|
||||
return;
|
||||
}
|
||||
|
||||
$out = $database -> query("SELECT title, description, photo_id FROM post ORDER BY id DESC");
|
||||
$out = $database -> query("SELECT title, description, photo_id, author FROM post ORDER BY id DESC");
|
||||
|
||||
$output = array();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user