diff --git a/CHANGELOG b/CHANGELOG index cfd710377..e756aea1c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +11 Oct, 2018 +fix: site_settings.php + 10 Oct, 2018 fix: announce.php diff --git a/include/site_settings.php b/include/site_settings.php index b7578d4d6..71da8a83b 100644 --- a/include/site_settings.php +++ b/include/site_settings.php @@ -45,7 +45,8 @@ $sql = $fluent->from('users') ->select(null) ->select('id') - ->where('class BETWEEN ? AND ?', UC_STAFF, UC_MAX) + ->where('class >= ?', UC_STAFF) + ->where('class <= ?', UC_MAX) ->orderBy('id ASC'); foreach ($sql as $res) { $staff_settings['is_staff']['allowed'][] = $res['id'];