mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
necessare fields not loaded from DB
This commit is contained in:
parent
fd9c12128a
commit
792abc3a24
2 changed files with 6 additions and 3 deletions
|
@ -26,9 +26,10 @@ function ping_init(&$a) {
|
|||
$dislikes = array();
|
||||
$friends = array();
|
||||
$posts = array();
|
||||
|
||||
$home = 0;
|
||||
$network = 0;
|
||||
|
||||
$r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`author-name`,
|
||||
$r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`wall`, `item`.`author-name`,
|
||||
`item`.`author-link`, `item`.`author-avatar`, `item`.`created`, `item`.`object`,
|
||||
`pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink`
|
||||
FROM `item` INNER JOIN `item` as `pitem` ON `pitem`.`id`=`item`.`parent`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue