diff --git a/include/functions.inc.php b/include/functions.inc.php index 294af9f3..4a2c203a 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -363,7 +363,7 @@ function serendipity_walkRecursive($ary, $child_name = 'id', $parent_name = 'par function serendipity_fetchUsers($user = '', $group = null, $is_count = false) { global $serendipity; - $where = 'WHERE 1'; + $where = 'WHERE 1=1'; if (!empty($user)) { $where .= " AND a.authorid = '" . (int)$user ."'"; }