Browse Source

Fix query mistake in Acl::getSuggestContactSelectHTML

pull/4517/head
Hypolite Petovan 4 years ago
parent
commit
35d09fdad1
  1. 2
      src/Core/Acl.php

2
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())
);

Loading…
Cancel
Save