mirror of
https://github.com/friendica/friendica
synced 2024-11-20 10:23:41 +00:00
Parameter wasn't replaced
This commit is contained in:
parent
d810b21f87
commit
d352a290fe
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ function display_init(App $a) {
|
||||||
if ($r["id"] != $r["parent"]) {
|
if ($r["id"] != $r["parent"]) {
|
||||||
$r = dba::fetch_first("SELECT `id`, `author-name`, `author-link`, `author-avatar`, `network`, `body`, `uid`, `owner-link` FROM `item`
|
$r = dba::fetch_first("SELECT `id`, `author-name`, `author-link`, `author-avatar`, `network`, `body`, `uid`, `owner-link` FROM `item`
|
||||||
WHERE `item`.`visible` AND NOT `item`.`deleted` AND NOT `item`.`moderated`
|
WHERE `item`.`visible` AND NOT `item`.`deleted` AND NOT `item`.`moderated`
|
||||||
AND `id` = %d", $r["parent"]);
|
AND `id` = ?", $r["parent"]);
|
||||||
}
|
}
|
||||||
if (($itemuid != local_user()) && local_user()) {
|
if (($itemuid != local_user()) && local_user()) {
|
||||||
// Do we know this contact but we haven't got this item?
|
// Do we know this contact but we haven't got this item?
|
||||||
|
|
Loading…
Reference in a new issue