added explicit comparison with TRUE in some if statement
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 19 Sep 2011 17:23:23 +0000 (19:23 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.com>
Mon, 28 Nov 2011 21:58:17 +0000 (22:58 +0100)
web/briskin5/index_rd.php
web/index_rd.php

index 300b85c..aa8bfa9 100644 (file)
@@ -259,7 +259,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
             ignore_user_abort(FALSE);
             return (blocking_error(TRUE));
         }
-        if ($user->the_end) {
+        if ($user->the_end == TRUE) {
             log_rd2("main_check: the end".var_export(debug_backtrace()));
             $is_page_streaming = TRUE;
         }
index 40a057c..4555814 100644 (file)
@@ -280,7 +280,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
             return (blocking_error(TRUE));
         }
         
-        if ($user->the_end) { 
+        if ($user->the_end == TRUE) { 
             log_rd2("main_check: the end".var_export(debug_backtrace()));
             $is_page_streaming = TRUE;
         }