Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Feb 16, 2020
1 parent b781b43 commit 7e7bc41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions objects/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ static function getOrCreatePluginByName($name, $statusIfCreate='inactive'){
}

function save() {
global $getAllEnabledRows;
if(empty($this->uuid)){
return false;
}
Expand All @@ -306,6 +307,7 @@ function save() {
if(empty($this->object_data)){
$this->object_data = 'null';
}
$getAllEnabledRows = array();
return parent::save();
}

Expand Down

0 comments on commit 7e7bc41

Please sign in to comment.