Skip to content

Commit

Permalink
Dev: load_error might not be defined before db upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 28, 2018
1 parent bb479ea commit 70ee322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/PluginManager/PluginManager.php
Expand Up @@ -389,7 +389,7 @@ public function loadPlugins()
$records = $pluginModel->findAllByAttributes(array('active'=>1));

foreach ($records as $record) {
if ($record->load_error == 0) {
if (!isset($record->load_error) || $record->load_error == 0) {
$this->loadPlugin($record->name, $record->id);
}
}
Expand Down

0 comments on commit 70ee322

Please sign in to comment.