From: Hypolite Petovan Date: Thu, 1 Mar 2018 01:09:19 +0000 (-0500) Subject: Fix query mistake in Acl::getSuggestContactSelectHTML X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35d09fdad1af0ff64ab1f1e3cab8c1befeef711f;p=friendica.git Fix query mistake in Acl::getSuggestContactSelectHTML --- diff --git a/src/Core/Acl.php b/src/Core/Acl.php index 1c72d23cbe..1bc150aca5 100644 --- a/src/Core/Acl.php +++ b/src/Core/Acl.php @@ -115,7 +115,7 @@ class Acl extends BaseObject } $stmt = dba::p("SELECT `id`, `name`, `url`, `network` FROM `contact` - WHERE `uid` = %d AND NOT `self` AND NOT `blocked` AND NOT `pending` AND NOT `archive` AND `notify` != '' + WHERE `uid` = ? AND NOT `self` AND NOT `blocked` AND NOT `pending` AND NOT `archive` AND `notify` != '' $sql_extra ORDER BY `name` ASC ", intval(local_user()) );