Correct result code condition
boombatower - August 13, 2009 - 20:17
| Project: | Project Issue File Review |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | boombatower |
| Status: | closed |
Description
pifr_server_test_result():
<?php
if ($result['code'] != PIFR_SERVER_TEST_RESULT_PASS || count($results) == PIFR_SERVER_CLIENT_ENVIRONMENT_COUNT) {
?>which does not take into account the current result:
<?php
if ($result['code'] != PIFR_SERVER_TEST_RESULT_PASS || count($results) + 1 == PIFR_SERVER_CLIENT_ENVIRONMENT_COUNT) {
?>
#1
#2
Committed.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.