mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
*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
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user