summaryrefslogtreecommitdiff
path: root/templates/theme_control.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/theme_control.tpl')
-rw-r--r--templates/theme_control.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl
index a273838..55a3104 100644
--- a/templates/theme_control.tpl
+++ b/templates/theme_control.tpl
@@ -96,7 +96,7 @@
{if $gBitSystem->isFeatureActive( 'direct_pagination' )}
<br />
{section loop=$cant_pages name=foo}
-{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystemPrefs.max_records"}
+{assign var=selector_offset value=$smarty.section.foo.index|times:"$gBitSystem->getConfig('max_records')"}
<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}