From 5037b16dbe5bb5dbb53f2a5936486a380f607cb6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 26 Jan 2006 23:35:04 +0000 Subject: [PATCH] fix syntax error --- lib/WebGUI/Asset/Wobject/WeatherData.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/WeatherData.pm b/lib/WebGUI/Asset/Wobject/WeatherData.pm index 018c77aa6..c30592631 100644 --- a/lib/WebGUI/Asset/Wobject/WeatherData.pm +++ b/lib/WebGUI/Asset/Wobject/WeatherData.pm @@ -204,8 +204,8 @@ sub view { #trim locations of whitespace my @locs = (); for (my $i = 0; $i < scalar(@array); $i++) { - $array[$i] = $self->_trim($array[$i]);\ - push (@locs, $self->_getLocationData($array[$i])); + $array[$i] = $self->_trim($array[$i]); + push(@locs, $self->_getLocationData($array[$i])); } $var->{'ourLocations.loop'} = \@locs; return $self->processTemplate($var, $self->get("templateId"));