Project continued with rewrites:
[mailer.git] / inc / expression-functions.php
index 4e7c7f264ad73cc89b2786e9051a9b28cd4a53a4..3693439c41aafae59b8065992d2633f7fcfc4c94 100644 (file)
@@ -118,7 +118,7 @@ function doExpressionUrl ($data) {
        $replacer = "{DQUOTE} . encodeUrl('" . $data['matches'][4][$data['key']] . "', " . $data['output_mode'] . ') . {DQUOTE}';
 
        // Debug log
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'replacer=' . $replacer . ',callback=' . $data['callback']);
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'replacer=' . $replacer . ',callback=' . $data['callback'] . ',output_mode=' . $data['output_mode']);
 
        // Replace it
        $code = replaceExpressionCode($data, $replacer);
@@ -162,6 +162,9 @@ function doExpressionExt ($data) {
        // Replace it and insert parameter for GET request
        $code = replaceExpressionCode($data, $replacer);
 
+       // Debug message
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'code=' . $code . ',replacer=' . $replacer . ',key=' . $data['key'] . ',callback=' . $data['callback']);
+
        // Return replaced code
        return $code;
 }