diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_plugins.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_plugins.inc.php b/include/functions_plugins.inc.php index 035a0bea8..d71f58491 100644 --- a/include/functions_plugins.inc.php +++ b/include/functions_plugins.inc.php @@ -78,7 +78,7 @@ abstract class PluginMaintain $current_version = $pwg_loaded_plugins[$this->plugin_id]['version']; if ( $version == 'auto' or $current_version == 'auto' - or version_compare($current_version, $version, '<') + or safe_version_compare($current_version, $version, '<') ) { if (!empty($on_update)) @@ -144,7 +144,7 @@ SELECT version list($current_version) = pwg_db_fetch_row(pwg_query($query)); if ( $version == 'auto' or $current_version == 'auto' - or version_compare($current_version, $version, '<') + or safe_version_compare($current_version, $version, '<') ) { if (!empty($on_update)) |