From efd600f92ea179e2e7e7b12642169bc058918479 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 29 Aug 2012 12:34:56 +0000 Subject: [PATCH] Poprawka błędnego odwołania do zmiennej w ./modules/30_pogoda/api_geonames.php --- modules/30_pogoda/api_geonames.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/30_pogoda/api_geonames.php b/modules/30_pogoda/api_geonames.php index 282b76f..6230ad8 100644 --- a/modules/30_pogoda/api_geonames.php +++ b/modules/30_pogoda/api_geonames.php @@ -34,7 +34,7 @@ return NULL; } - $data = (array)$this->geoname[0]; + $data = (array)$data->geoname[0]; foreach($data as &$value) { $value = trim($value); } -- Gitblit v1.9.1