From 773d149d4ae7bfeca3e6bf3aae75738314c25424 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 12 Apr 2007 21:53:59 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=12357 --- html/ops/index.php | 3 +-- html/ops/job_times.php | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/html/ops/index.php b/html/ops/index.php index 7b8b90f780..ee4cba3acd 100644 --- a/html/ops/index.php +++ b/html/ops/index.php @@ -75,9 +75,8 @@ echo "
  • Manage applications
  • Manage application versions
  • Send mass email to a selected set of users
  • -
  • Forum repair
  • -
  • Repair a validator problem
  • Email user with misconfigured host
  • +
  • FLOP count statistics
  • Cancel workunits
  • diff --git a/html/ops/job_times.php b/html/ops/job_times.php index 550c252152..0801e16a65 100644 --- a/html/ops/job_times.php +++ b/html/ops/job_times.php @@ -136,6 +136,11 @@ function analyze($appid, $platformid, $nresults) { } } + if (!$n) { + echo "No done results for that app"; + exit; + } + ksort($hist); show_stats($hist); echo "
    \n"; @@ -161,6 +166,10 @@ function show_form() { if ($_GET['submit']=='OK') { set_time_limit(0); $appid = $_GET['appid']; + if (!$appid) { + echo "Must supply an appid"; + exit; + } $platformid = $_GET['platformid']; $quantum = $_GET['quantum']; $nresults = $_GET['nresults'];