web: type fix

This commit is contained in:
David Anderson 2015-01-09 11:56:42 -08:00
parent 8ace1a5c45
commit fb56e78ab0
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ function show_form() {
<form action=brand_stats.php> <form action=brand_stats.php>
Select brand: Select brand:
<p> <p>
<input type=radio name=brand value=1 checked>HTP Power to Give <input type=radio name=brand value=1 checked>HTC Power to Give
<p> <p>
<input type=submit value=\"Show stats\"> <input type=submit value=\"Show stats\">
"; ";
@ -41,7 +41,7 @@ function show_stats($brand) {
default: default:
error_page("invalid brand"); error_page("invalid brand");
} }
$hosts = BoincHost::enum("serialnum like '%$x%'"); $hosts = BoincHost::enum("os_name='Android' and serialnum like '%$x%'");
$n = 0; $n = 0;
$t = 0; $t = 0;
$a = 0; $a = 0;