From ebb906d9dae150fd25058408a84f0f20ba03aaf2 Mon Sep 17 00:00:00 2001 From: moodler <moodler> Date: Sun, 30 Jan 2005 04:52:13 +0000 Subject: [PATCH] Prevent message window on site policy page --- user/policy.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/policy.php b/user/policy.php index cc5326b2f1..0a5f80cf36 100644 --- a/user/policy.php +++ b/user/policy.php @@ -4,6 +4,8 @@ optional_param('agree', 0, PARAM_INT); + define('MESSAGE_WINDOW', true); // This prevents the message window coming up + if (!isset($USER->id)) { require_login(); -- 2.39.5