diff options
Diffstat (limited to 'templates/list_header.inc.php')
-rw-r--r-- | templates/list_header.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_header.inc.php b/templates/list_header.inc.php index 551c37bc..e9cad734 100644 --- a/templates/list_header.inc.php +++ b/templates/list_header.inc.php @@ -27,7 +27,7 @@ */ // Pull these variables out to allow shorthand (easier for lazy programmers) -$limit = $GLOBALS['user']->prefs['offset_limit'] ? $GLOBALS['user']->prefs['offset_limit'] : '25'; +$limit = Config::get('offset_limit') ? Config::get('offset_limit') : '25'; $start = Browse::$start; $total = Browse::$total_objects; $uid = Config::get('list_header_uid'); |