Browse Source

Fix query mistake in Acl::getSuggestContactSelectHTML

pull/4517/head
Hypolite Petovan 3 years ago
parent
commit
35d09fdad1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Core/Acl.php

+ 1
- 1
src/Core/Acl.php View File

@ -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