From 39cee385f74faec7f00e47817777edb2ec59a9ac Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 4 Jan 2016 23:10:02 -0800 Subject: [PATCH] Allow any constants passed to also be hooked, modified etc. --- e107_handlers/e_parse_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index d4b87bde2..ce893a9e5 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -1455,7 +1455,7 @@ class e_parse extends e_parser if($opts['defs'] && (strlen($text) < 35) && ((strpos($text, '::') === FALSE) && defined(trim($text)))) { - return constant(trim($text)); + $text = constant(trim($text)); // don't return yet, words could be hooked with linkwords etc. } if ($opts['no_tags'])