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

boombatower - August 13, 2009 - 20:19
Assigned to:Anonymous» boombatower
Status:active» needs review
AttachmentSizeStatusTest resultOperations
548674-result-condition.patch810 bytesIgnoredNoneNone

#2

boombatower - August 13, 2009 - 20:20
Category:task» bug report
Status:needs review» fixed

Committed.

#3

System Message - August 27, 2009 - 20:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.