Commit f01e683b authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(pluglist) Fix load static method to avoid crashes

issue #5854
Showing with 4 additions and 1 deletion
+4 -1
...@@ -528,8 +528,11 @@ class pluglist { ...@@ -528,8 +528,11 @@ class pluglist {
$config->get_departments(); $config->get_departments();
$config->make_idepartments(); $config->make_idepartments();
} }
} else {
$plist = session::global_get('plist');
} }
return session::global_get('plist');
return $plist;
} }
} }
?> ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment