diff --git a/net/wol/Makefile b/net/wol/Makefile index d42c18ac4..4f3d67810 100644 --- a/net/wol/Makefile +++ b/net/wol/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= wol PLUGIN_VERSION= 2.1 +PLUGIN_REVISION= 1 PLUGIN_DEPENDS= wol PLUGIN_COMMENT= Wake on LAN Service PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/wol/src/www/widgets/widgets/wake_on_lan.widget.php b/net/wol/src/www/widgets/widgets/wake_on_lan.widget.php index 38d4c2f2c..8d77e8969 100644 --- a/net/wol/src/www/widgets/widgets/wake_on_lan.widget.php +++ b/net/wol/src/www/widgets/widgets/wake_on_lan.widget.php @@ -1,30 +1,30 @@ wolentry->iterateItems()) == 0):?> + if (count(iterator_to_array($wol->wolentry->iterateItems())) == 0):?>