1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Allow any constants passed to also be hooked, modified etc.

This commit is contained in:
Cameron
2016-01-04 23:10:02 -08:00
parent d29949cbd3
commit 39cee385f7

View File

@@ -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'])