mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-8013-Consolas-Visuales-en-Metaconsola-rotas' into 'develop'
Ent 8013 consolas visuales en metaconsola rotas See merge request artica/pandorafms!4421
This commit is contained in:
commit
3e4fafadf8
@ -379,6 +379,11 @@ final class Percentile extends Item
|
||||
|
||||
$moduleValue = \modules_get_last_value($moduleId);
|
||||
if ($moduleValue === false) {
|
||||
// Restore connection.
|
||||
if ($nodeConnected === true) {
|
||||
\metaconsole_restore_db();
|
||||
}
|
||||
|
||||
throw new \InvalidArgumentException(
|
||||
'error fetching the module value'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user