]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
[mailer.git] / inc / filters.php
index 4028bef01fe275ded0fb498f08c54a12f5b16579..cc17b3e381c9074b5a4d5771d03d20638e5e108d 100644 (file)
@@ -586,7 +586,7 @@ function FILTER_HTML_INCLUDE_USERS ($mode) {
 
        // HTML mail?
        if ($mode == 'html') $MORE = " AND `html`='Y'";
 
        // HTML mail?
        if ($mode == 'html') $MORE = " AND `html`='Y'";
-       if ((isExtensionActive('holiday')) && (getExtensionVersion('holiday') >= '0.1.3')) {
+       if (isExtensionInstalledAndNewer('holiday', '0.1.3')) {
                // Add something for the holiday extension
                $MORE .= " AND `holiday_active`='N'";
        } // END - if
                // Add something for the holiday extension
                $MORE .= " AND `holiday_active`='N'";
        } // END - if