]> git.mxchange.org Git - mailer.git/blobdiff - inc/expression-functions.php
Added support for favicon.ico/gif/png in base path (very basic support)
[mailer.git] / inc / expression-functions.php
index 6c586deb53b1db9dcda2e6acad8af47420d78b5e..4e78a9bd13e464177dc30b04dcd7227634c249eb 100644 (file)
@@ -281,7 +281,7 @@ function doExpressionMessage ($data) {
 // Expression call-back for template functions
 function doExpressionTemplate ($data) {
        // Construct call-back function name
-       $callbackFunction = 'doTemplate' . $data['callback'];
+       $callbackFunction = 'doTemplate' . ucfirst($data['callback']);
 
        // Init replacer
        $replacer = '<!-- [' . __FUNCTION__ . ':' . __LINE__.'] Call-back function ' . $callbackFunction  . ' does not exist. //-->';