]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
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 300b85c2f4e3286dfb3fa829b1ac344e405521d2..aa8bfa9a0c8fe752372d8eecea6771c0fd2225f4 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 40a057c6955e3acb4e130fdbc56b3b4627662882..4555814c91ac98b4645649bd7ef27b2c8aa1af08 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;
         }