diff options
Diffstat (limited to 'phpBB/report.php')
-rw-r--r-- | phpBB/report.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/report.php b/phpBB/report.php index a7bcf58cc9..d0584b9d63 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -26,8 +26,8 @@ $forum_id = request_var('f', 0); $post_id = request_var('p', 0); $reason_id = request_var('reason_id', 0); $report_text = utf8_normalize_nfc(request_var('report_text', '', true)); +$user_notify = ($user->data['is_registered']) ? request_var('notify', 0) : false; -$user_notify = (isset($_POST['notify']) && $user->data['is_registered']) ? true : false; $submit = (isset($_POST['submit'])) ? true : false; if (!$post_id) |