Skip to content

Commit

Permalink
Support Owm.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 21, 2015
1 parent 4b5a6c6 commit 2512465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/Factory/Weather.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public function create(Horde_Injector $injector)
switch ($driver) {
case 'WeatherUnderground':
case 'Wwo':
case 'Owm':
$params['apikey'] = $conf['weather']['params']['key'];
if (!empty($conf['weather']['params']['apiversion'])) {
$params['apiVersion'] = $conf['weather']['params']['apiversion'];
}
break;
}

$class = $this->_getDriverName($driver, 'Horde_Service_Weather');

try {
Expand Down

0 comments on commit 2512465

Please sign in to comment.