From: Michael Date: Fri, 11 Aug 2017 08:55:07 +0000 (+0000) Subject: Parameter wasn't replaced X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d352a290fe0c2a6dd6d231acb60fe398d887c70c;p=friendica.git Parameter wasn't replaced --- diff --git a/mod/display.php b/mod/display.php index cb0d40cfb6..c3938117af 100644 --- a/mod/display.php +++ b/mod/display.php @@ -72,7 +72,7 @@ function display_init(App $a) { if ($r["id"] != $r["parent"]) { $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` - AND `id` = %d", $r["parent"]); + AND `id` = ?", $r["parent"]); } if (($itemuid != local_user()) && local_user()) { // Do we know this contact but we haven't got this item?