Fix plugin
This commit is contained in:
parent
076b7e105c
commit
67e48cb6a2
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ function checkingVersion(){
|
|||
$plugin_data = get_plugin_data($path);
|
||||
$data['plugins'][$plugin_data['Name']]['Version'] = $plugin_data['Version'];
|
||||
// check if one of the active plugins is updatable
|
||||
if (array_key_exists (plugin_basename( $path ), $plugin_to_update)) {
|
||||
if (array_key_exists (plugin_basename( $path ), $plugin_to_update) && $plugin_to_update[plugin_basename( $path )]->update->new_version != $plugin_data['Version']) {
|
||||
$data['plugins'][$plugin_data['Name']]['Maj'] = $plugin_to_update[plugin_basename( $path )]->update->new_version;
|
||||
} else {
|
||||
$data['plugins'][$plugin_data['Name']]['Maj'] = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue