Renamed templates + added some filters for mail order
[mailer.git] / inc / xml-functions.php
index 0228d8f528cd5afe3af34844c55ae4a368080f39..87f2d4e1b62f1174b350ff18bb8a643dc2962075 100644 (file)
@@ -134,7 +134,7 @@ function addXmlSpecialElements ($template) {
 // Parses the XML content
 function parseXmlData ($content) {
        // Is there recode?
-       if (!function_exists('recode')) {
+       if (!extension_loaded('recode')) {
                // No fallback ATM
                reportBug(__FUNCTION__, __LINE__, 'PHP extension recode is missing. Please install it.');
        } // END - if