Active
Project:
Google Weather
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2011 at 09:48 UTC
Updated:
24 Mar 2011 at 09:48 UTC
The $error_message variable is used in google_weather_show function.
But it has no value assigned before it's used in the following fragments of code:
if (!is_array($cv)) {
watchdog('google weather', "Required cURL for download information about weather forecast from Google.", array(), WATCHDOG_ERROR);
return $error_message;
}
return theme('google_weather_block', $content);
}
else {
return $error_message;
}
This applies to both 6.1.4 and dev versions.