From: Matteo Nastasi (mop) Date: Mon, 19 Sep 2011 17:23:23 +0000 (+0200) Subject: added explicit comparison with TRUE in some if statement X-Git-Tag: 3.6.0~12 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=ff958e6a95d460749f78966b8410931db1dbef04;p=brisk.git added explicit comparison with TRUE in some if statement --- diff --git a/web/briskin5/index_rd.php b/web/briskin5/index_rd.php index 300b85c..aa8bfa9 100644 --- a/web/briskin5/index_rd.php +++ b/web/briskin5/index_rd.php @@ -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; } diff --git a/web/index_rd.php b/web/index_rd.php index 40a057c..4555814 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -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; }