Commit 6fe06696 authored by Mac Newbold's avatar Mac Newbold
Browse files

Don't count idle_ignore expts in the count on the front page, and remove

a lone stray " .
parent 37db313e
......@@ -33,7 +33,8 @@ if (mysql_num_rows($query_result) != 1) {
}
$query_result = DBQueryFatal("select count(*) from experiments where ".
"swap_requests > 0 and pid!='emulab-ops' and pid!='testbed'");
"swap_requests > 0 and idle_ignore==0 ".
"and pid!='emulab-ops' and pid!='testbed'");
if (mysql_num_rows($query_result) != 1) {
$idle_expts = "ERR";
} else {
......@@ -45,7 +46,7 @@ if (mysql_num_rows($query_result) != 1) {
<center>
<table align="right">
<tr><th nowrap colspan=2" class="contentheader" align="center">
<tr><th nowrap colspan=2 class="contentheader" align="center">
Current Experiments</th></tr>
<tr><td align="right" class="menuopt"><?php echo $active_expts ?></td>
<td align="left" class="menuopt">Active</td></tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment