Jacek Kowalski
2012-08-12 caa8027b673b808ae7d4739faaf18893ff900d81
Usuniecie nieużywanej zmiennej $txt.
1 files modified
2 ■■■ changed files
modules/30_pogoda.php 2 ●●● patch | view | raw | blame | history
modules/30_pogoda.php
@@ -167,7 +167,7 @@
        self::putIcon((string)$dane->weather->current_conditions->icon['data']);
        
        $condition = (string)$dane->weather->current_conditions->condition['data'];
        GGapi::putRichText($txt.($condition ? $condition."\n" : '').'Temp.: '.($dane->weather->current_conditions->temp_c['data']).'°C'."\n".($dane->weather->current_conditions->humidity['data'])."\n".($dane->weather->current_conditions->wind_condition['data']));
        GGapi::putRichText(($condition ? $condition."\n" : '').'Temp.: '.($dane->weather->current_conditions->temp_c['data']).'°C'."\n".($dane->weather->current_conditions->humidity['data'])."\n".($dane->weather->current_conditions->wind_condition['data']));
        
        $num = TRUE;
        foreach($dane->weather->forecast_conditions as $day) {