Connecting the world…

index

Weathermap error message

After upgrading CactiEZ from 0.8.7.c to 0.8.7h with PIA 3.1 I received an error message with viewing the Weathermap plugin.

Notice: Undefined index: action in /var/www/html/plugins/weathermap/setup.php on line 84

After surfing some time on the internet I found the solution. I change the syntax on line 84. The change is displayed below.

Old syntax

if($_REQUEST[“action”] == ‘viewmapcycle’)

New syntax

if(isset( $_REQUEST[“action”] ) && $_REQUEST[“action”]  == ‘viewmapcycle’)

This resolves the error message.