From 0644a19bec0e5a2051bcd5dcacd56201ec32892c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 2 Jan 2004 13:21:38 +0000 Subject: [PATCH] foreigners window and RepeatCells --- ChangeLog | 2 +- browse_foreigners.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 33465287e..c9b68bf00 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,7 @@ $Source$ 2004-01-02 Marc Delisle * 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 * lang/czech: Updated. diff --git a/browse_foreigners.php b/browse_foreigners.php index fbfb3bbad..f18ce72f9 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; }