X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fxml-functions.php;h=09373597f1b5e8b1e8aed563caeca0264cfda4e3;hb=00283a82c807a00d66bd5811d41992bb3b059996;hp=f2de15092655addb342fd1f9639cf6512c4c7a81;hpb=292fb7189065e26f9ad5f1d7d90245bd103de000;p=mailer.git diff --git a/inc/xml-functions.php b/inc/xml-functions.php index f2de150926..09373597f1 100644 --- a/inc/xml-functions.php +++ b/inc/xml-functions.php @@ -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