]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Entities in JavaScript => failed, fixed... login fixed by removing status=GUEST
[mailer.git] / inc / filters.php
index dbc68d39dad3eaa5f196c3a0b5d6989db2a5bde5..3bcc77e333318a1fac6af9edc39d1ac9a55cdd88 100644 (file)
@@ -455,8 +455,11 @@ function FILTER_COMPILE_EXTENSION ($code) {
                        // By default we have no extension installed, so 'false' is assumed
                        $replacer = 'false';
 
-                       // Is the extension installed?
-                       if (isExtensionActive($matches[4][$key])) {
+                       // Is the extension installed or code provided?
+                       if ($cmd == 'code') {
+                               // Code asked for
+                               $replacer = getCode($matches[4][$key]);
+                       } elseif (isExtensionActive($matches[4][$key])) {
                                // Construct call-back function name
                                $functionName = 'getExtension' . ucfirst(strtolower($cmd));