From 58a56926d0d1fd9779d8ff39d6b44b90a3a66331 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 15 May 2005 21:10:48 +0000 Subject: [PATCH] r154: Fixed the circumstances under which we show changes... it now works right. --- showhistory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/showhistory.php b/showhistory.php index 00e11c2..5fbebdb 100644 --- a/showhistory.php +++ b/showhistory.php @@ -48,13 +48,13 @@ ksort($logs); foreach ($logs AS $dateline => $logitems) { - $rowspan = 3; + $rowspan = 1; $changes = ''; $show['changes'] = false; foreach ($logitems AS $log) { $rowspan++; - $show['changes'] = ((!empty($log['original']) AND !empty($log['changed'])) ? true : $show['changes']); + $show['changes'] = ((empty($log['original']) AND empty($log['changed'])) ? $show['changes'] : true); eval('$changes .= "' . $template->fetch('history_bit') . '";'); } eval('$history .= "' . $template->fetch('history_group') . '";'); -- 2.22.5