mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
widgets/wol: Illegal string offset warning; fixes #185
Submitted by: @reetp
This commit is contained in:
parent
d3239e081e
commit
d9335b6d7f
@ -31,7 +31,7 @@ $nocsrf = true;
|
||||
require_once("guiconfig.inc");
|
||||
require_once("widgets/include/wake_on_lan.inc");
|
||||
|
||||
if (is_array($config['wol']['wolentry'])) {
|
||||
if (isset($config['wol']['wolentry'])) {
|
||||
$wolcomputers = $config['wol']['wolentry'];
|
||||
} else {
|
||||
$wolcomputers = array();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user