]> git.mxchange.org Git - mailer.git/blobdiff - inc/xml-functions.php
Typo fixed
[mailer.git] / inc / xml-functions.php
index f2de15092655addb342fd1f9639cf6512c4c7a81..09373597f1b5e8b1e8aed563caeca0264cfda4e3 100644 (file)
@@ -194,7 +194,7 @@ function isInvalidXmlType ($type) {
        $type = strtolower(trim($type));
 
        // Is it found?
-       return (in_array($type, array('string', 'array', 'bool', 'int')));
+       return (in_array($type, array('string', 'array', 'bool', 'int', 'callback')));
 }
 
 // Checks if given condition is valid