From ff958e6a95d460749f78966b8410931db1dbef04 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 19 Sep 2011 19:23:23 +0200 Subject: [PATCH] added explicit comparison with TRUE in some if statement --- web/briskin5/index_rd.php | 2 +- web/index_rd.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.17.1