Fixed a comparison problem like string1 < string2
[mailer.git] / inc / gen_sql_patches.php
index 0903d68470947c1253782fe39a7ee8a4119bfc3b..467e4b4ecb735cc4cfe693174516a5cd2fb8b8bf 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Check for version of sql_patches
-if (GET_EXT_VERSION("sql_patches") < "0.3.6") return false;
+if (EXT_VERSION_IS_OLDER("sql_patches", "0.3.6")) return false;
 
 // Check if there is no scrambling string
 if (empty($_CONFIG['pass_scramble'])) {