Permalink
Browse files

Fixes a bug in plugin installation check in Plugin library and Admin_…

…PluginManager module.
  • Loading branch information...
JB Lebrun
JB Lebrun committed Sep 13, 2018
1 parent 7d7f059 commit 8073f6454b9916a3ccdc9bf0f0387d656536139a
@@ -5,7 +5,7 @@
* @details Engine / Object Library
* @file engine/lib/object/Plugin.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.4
* @version 1.0.5
* @date Creation: Jun 2005
* @date Modification: Sep 2018
* @copyright 2005 - 2018 CaMykS Team
@@ -536,7 +536,7 @@ abstract class Plugin {
* @return boolean
*/
public function is_installed() {
return true;
return null;
}
/**
@@ -4,10 +4,10 @@
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0.1
* Object Version : 1.0.2
* Object Type : Plugin / Module Library
* Creation Date : Oct 2008
* Last Modif Date : Nov 2017
* Last Modif Date : Sep 2018
*
* Admin_PluginManagerItem library
*/
@@ -212,7 +212,7 @@ final class Admin_PluginManagerItem {
break;
}
if ($plugin->is_installed()===false and $plugin->install()===false) {
if ($plugin->is_installed()!==true and $plugin->install()===false) {
return false;
}

0 comments on commit 8073f64

Please sign in to comment.