diff --git a/checkin_notes b/checkin_notes index c65d29c77c..1ccf74110a 100755 --- a/checkin_notes +++ b/checkin_notes @@ -5391,3 +5391,15 @@ David 28 May 2007 client/ Makefile.am + +David 28 May 2007 + - user web: host-merging logic was wrong for Intel CPUs + with MHz instead of GHz in their names. + - user web: it no hosts eligible for merging, say so + instead of showing blank table + + html/ + inc/ + host.inc + user/ + host_edit_form.php diff --git a/html/inc/host.inc b/html/inc/host.inc index ae0908d44f..d1739022a5 100644 --- a/html/inc/host.inc +++ b/html/inc/host.inc @@ -253,6 +253,7 @@ function ghz($x) { $y = explode(" ", $x); foreach ($y as $z) { if (strstr($z, "GHz")) return $z; + if (strstr($z, "MHz")) return $z; } } diff --git a/html/user/host_edit_form.php b/html/user/host_edit_form.php index 6989447b69..1998666e21 100644 --- a/html/user/host_edit_form.php +++ b/html/user/host_edit_form.php @@ -22,18 +22,34 @@ echo "