mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
code review: check precedence
This commit is contained in:
parent
718d5aee94
commit
1c2075a1c0
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ function check_deliver_permissions($item, $arr)
|
||||||
// Send mentions even if you have no permission to do so. They might allow it.
|
// Send mentions even if you have no permission to do so. They might allow it.
|
||||||
if ($terms) {
|
if ($terms) {
|
||||||
foreach ($terms as $term) {
|
foreach ($terms as $term) {
|
||||||
$r = q("select * from hubloc where hubloc_hash = '%s' or hubloc_id_url = '%s' and hubloc_deleted = 0",
|
$r = q("select * from hubloc where (hubloc_hash = '%s' or hubloc_id_url = '%s') and hubloc_deleted = 0",
|
||||||
dbesc($term['url']),
|
dbesc($term['url']),
|
||||||
dbesc($term['url'])
|
dbesc($term['url'])
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue