1
0

PHP8 compat fixes for entry form display

This commit is contained in:
onli
2021-05-02 11:45:14 +02:00
parent b2707b81ae
commit 7900062aa3
2 changed files with 14 additions and 7 deletions

View File

@ -424,7 +424,9 @@ function serendipity_fetchUsers($user = '', $group = null, $is_count = false) {
$group_sql = (int)$group;
}
if ($group_sql) $where .= ' AND ' . "g.id IN ($group_sql)";
if ($group_sql ?? false) {
$where .= ' AND ' . "g.id IN ($group_sql)";
}
$querystring = "SELECT $query_distinct
a.authorid,