diff --git a/include/testData.php b/include/testData.php index 274b58f..d37dd3e 100644 --- a/include/testData.php +++ b/include/testData.php @@ -593,6 +593,11 @@ class testData{ if (($aValues['sInstalls'] == "No") && ($aValues['sTestedRating'] == PLATINUM_RATING)) $errors .= "
  • An application can only get a Platinum rating if it installs and runs ‘out of the box’.
  • \n"; + // Basic checking of logic. Runs? can obviously only be 'Not Installable' + // if the application does not install + if (($aValues['sInstalls'] != "No") && ($aValues['sRuns'] == "Not Installable")) + $errors .= "
  • You can only set Runs? to ‘Not Installable’ if the applicatino’s installer does not work
  • \n"; + return $errors; }