foreigners window and RepeatCells

This commit is contained in:
Marc Delisle
2004-01-02 13:21:38 +00:00
parent 0a712c59bf
commit 0644a19bec
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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;
}