Commit d9335b6d authored by Franco Fichtner's avatar Franco Fichtner

widgets/wol: Illegal string offset warning; fixes #185

Submitted by: @reetp
parent d3239e08
......@@ -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();
......
Markdown is supported
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