]> git.mxchange.org Git - mailer.git/blobdiff - inc/xml-functions.php
Added some missing wrapper functions
[mailer.git] / inc / xml-functions.php
index 0d487f4e5b42710f43ea0ab223f600acf98b3a8d..217f8e73a0b901fea4a1756624d3d95d66f38ae4 100644 (file)
@@ -56,7 +56,7 @@ function initXml () {
 }
 
 // Calls back a function based on given XML template data
-function showEntriesByXmlCallback ($template, $content = array(), $compileCode = TRUE) {
+function doGenericXmlTemplateCallback ($template, $content = array(), $compileCode = TRUE) {
        // Init XML system as sch calls will be only used once per run
        initXml();
 
@@ -328,7 +328,7 @@ function searchXmlArray ($value, $columns, $childKey) {
                assert(isset($columnArray[$childKey]));
 
                // Now is it what we are looking for?
-               if ($columnArray[$childKey] == $value) {
+               if ($columnArray[$childKey] === $value) {
                        // Remember this match
                        $return = $key;