From: tjhunt Date: Tue, 24 Apr 2007 17:09:12 +0000 (+0000) Subject: Stop "Undefined variable: ALLOWED_TAGS" errors all over the place. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5ea4af22109afd81036f23ceeed8499800ccac17;p=moodle.git Stop "Undefined variable: ALLOWED_TAGS" errors all over the place. --- diff --git a/lib/weblib.php b/lib/weblib.php index 4d1749e509..8b6c2f848a 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -84,6 +84,7 @@ define('TRUSTTEXT', '#####TRUSTTEXT#####'); * Allowed tags - string of html tags that can be tested against for safe html tags * @global string $ALLOWED_TAGS */ +global $ALLOWED_TAGS; $ALLOWED_TAGS = '