]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter-functions.php
More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
[mailer.git] / inc / filter-functions.php
index 82747fef797677782a26230abab3c6528210e5a2..7bc55f018c67f9880e6e7227a525e1321f526d93 100644 (file)
@@ -60,7 +60,7 @@ function initFilterSystem () {
        } elseif ((!isInstallationPhase()) && (isExtensionInstalledAndNewer('sql_patches', '0.5.9'))) {
                // Init add
                $add = '';
-               if (getExtensionVersion('sql_patches') >= '0.6.0') $add = ", `filter_counter`";
+               if (isExtensionINstalledAndNewer('sql_patches', '0.6.0')) $add = ", `filter_counter`";
 
                // Load all active filers
                $result = SQL_QUERY("SELECT