aboutsummaryrefslogtreecommitdiffstats
path: root/admin/updates_ext.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-02-04 10:56:44 +0000
committermistic100 <mistic@piwigo.org>2014-02-04 10:56:44 +0000
commitf286327ad680a5321d7fa77314f0b44f4823eb31 (patch)
tree230b3b47bf3f41b9257f9379d013e87af48ebf5f /admin/updates_ext.php
parent446dd3e9c6c5d3423a96f4c3086a29f5ca9ab570 (diff)
*Fatal error*: Call to undefined method plugins::plugin_version_compare
replaced by safe_version_compare caused by r26998 git-svn-id: http://piwigo.org/svn/trunk@27156 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/updates_ext.php')
-rw-r--r--admin/updates_ext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/updates_ext.php b/admin/updates_ext.php
index 3d1467fad..72b2e13a7 100644
--- a/admin/updates_ext.php
+++ b/admin/updates_ext.php
@@ -59,7 +59,7 @@ foreach ($autoupdate->types as $type)
$ext_info = $server_ext[$fs_ext['extension']];
- if (!$autoupdate->version_compare($fs_ext['version'], $ext_info['revision_name'], $type))
+ if (!safe_version_compare($fs_ext['version'], $ext_info['revision_name'], '>='))
{
$template->append('update_'.$type, array(
'ID' => $ext_info['extension_id'],