diff options
-rwxr-xr-x | ChangeLog | 2 | ||||
-rw-r--r-- | browse_foreigners.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ $Source$ 2004-01-02 Marc Delisle <lem9@users.sourceforge.net> * db_details_structure.php: bug 868996, debug code still in place, thanks to Matthias Fichtner (mfichtner) - * browse_foreigners.php: paging does not work + * browse_foreigners.php: paging does not work; obey RepeatCells=0 2003-12-30 Michal Cihar <happynewyer@cihar.com> * lang/czech: Updated. diff --git a/browse_foreigners.php b/browse_foreigners.php index fbfb3bbad9..f18ce72f93 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -153,7 +153,7 @@ if (isset($disp) && $disp) { $value = (($foreign_display != FALSE) ? htmlspecialchars(substr($vtitle, 0, $cfg['LimitChars']) . '...') : ''); } - if ($count > $cfg['RepeatCells']) { + if ($cfg['RepeatCells'] > 0 && $count > $cfg['RepeatCells']) { echo $header; $count = -1; } |