Skip to content

Commit

Permalink
Fixed: Could not upload new plugin version (Bad version check)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
nuxwin committed Sep 6, 2016
1 parent 4a6d957 commit 88ea829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -38,6 +38,7 @@ FRONTEND
Changed: Listening ports are now 8880 (http) and 8443 (https). (Required by CloudFlare)
Changed: Frontend is now run through an isolated PHP-FPM Daemon (see errata file)
Fixed: Authentication failure when accessing panel through IP (PhpMyAdmin/Pydio auto-login feature)
Fixed: Could not upload new plugin version (Bad version check)
Fixed: Possible authentication failure when accessing panel through proxy (PhpMyAdmin/Pydio auto-login feature)
Fixed: Customer PHP permissions are not synced with reseller PHP permissions in some contexts
Fixed: General error: 1366 Incorrect integer value: '_no_' for column 'mail_auto_respond'
Expand Down
2 changes: 1 addition & 1 deletion gui/library/iMSCP/Plugin/Manager.php
Expand Up @@ -1178,7 +1178,7 @@ public function pluginCheckCompat($name, array $info)

if ($this->pluginIsKnown($name)) {
$oldInfo = $this->pluginGetInfo($name);
if ($oldInfo['version'] > $info['version']) {
if (version_compare($oldInfo['version'], $info['version'], '>')) {
throw new iMSCP_Plugin_Exception(tr('Plugin Manager: Downgrade of %s plugin is not allowed.', $name), 'error');
}
}
Expand Down

0 comments on commit 88ea829

Please sign in to comment.