From f31ea41e6da1f53385e5d259220f0a537189e84f Mon Sep 17 00:00:00 2001 From: JaredF Date: Tue, 29 Jul 2014 17:08:54 -0700 Subject: [PATCH] Fixes #456 --- code/common/weather_tides.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/common/weather_tides.pl b/code/common/weather_tides.pl index 9c73fe7b0..9507e6ea5 100644 --- a/code/common/weather_tides.pl +++ b/code/common/weather_tides.pl @@ -1,7 +1,7 @@ # Category = Weather #@ This script collects information about ocean tides, moonrise and moonset from the -#@ University of Southern Carolina Tide Predictor. +#@ University of Southern Carolina Tide Predictor. #@ Set the weather_tide_site ini parameter to the tide site closest to you. # 12/04/05 created by David Norwood based on idea by Joey French @@ -15,7 +15,7 @@ $v_read_tides = new Voice_Cmd 'When is the next [High Tide,Low Tide,Moonrise,Moonset]?'; $v_read_tides ->set_info('Show tide, moonrise and moonset information from the Internet'); $p_get_tides = new Process_Item; - $tide_site = $config_parms{'weather_tide_site'} if $config_parms{'weather_tide_site'}; + $tide_site = $config_parms{weather_tide_site} if $config_parms{weather_tide_site}; $tide_site = &escape($tide_site); set $p_get_tides "get_url http://tbone.biol.sc.edu/tide/tideshow.cgi?site=$tide_site $f_tides"; trigger_delete "get tide info";