From 80b4beec4cc479a3f8ca4f5e51adc5a2877fd6a5 Mon Sep 17 00:00:00 2001
From: Chad Barb <barb@flux.utah.edu>
Date: Mon, 3 Mar 2003 20:16:04 +0000
Subject: [PATCH] Fixed minor error in brief view. (Showing empty td's for
 pid="emulab-ops")

---
 www/showexp_list.php3 | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/www/showexp_list.php3 b/www/showexp_list.php3
index 98473011be..f2b2c4ff78 100644
--- a/www/showexp_list.php3
+++ b/www/showexp_list.php3
@@ -299,6 +299,9 @@ if ($thumb && !$idle) {
 		     "<a href='showexp.php3?pid=$pid&eid=$eid'>$eid</a>".
 		     "</b>".
 		     "</td>";
+
+		$thumbcount++;
+		if (($thumbcount % 4) == 0) { echo "</tr><tr>\n"; }
 	    }
 	} else {
 
@@ -351,15 +354,10 @@ if ($thumb && !$idle) {
 
 	    echo "</td></tr></table> \n";
 	    echo "</td>";
-	}
 
-	$thumbcount++;
-	if ($thumb == 2) {
-	    if (($thumbcount % 4) == 0) { echo "</tr><tr>\n"; }
-	} else {	
+	    $thumbcount++;
 	    if (($thumbcount % 2) == 0) { echo "</tr><tr>\n"; }
 	}
-	    
     }
 
     echo "</tr></table>";
-- 
GitLab