From 6ed586bbae84028b34b8eff48f9ebcf9c1a8f9e6 Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Fri, 4 Aug 2017 11:52:16 -0500 Subject: [PATCH] Fixed bug where assignment '=' was used instead of comparison '=='. Fixes #2011. https://github.com/BOINC/boinc/issues/2011 --- html/inc/result.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/inc/result.inc b/html/inc/result.inc index 7065389300..824b9ca452 100644 --- a/html/inc/result.inc +++ b/html/inc/result.inc @@ -174,8 +174,8 @@ function state_num($result) { } if ($result->server_state == RESULT_SERVER_STATE_OVER && ($result->outcome == RESULT_OUTCOME_CLIENT_ERROR - || $result->outcome = RESULT_OUTCOME_NO_REPLY - || $result->outcome = RESULT_OUTCOME_CLIENT_DETACHED + || $result->outcome == RESULT_OUTCOME_NO_REPLY + || $result->outcome == RESULT_OUTCOME_CLIENT_DETACHED ) ) { return STATE_ERROR;