added explicit comparison with TRUE in some if statement
[brisk.git] / web / briskin5 / 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;
         }