From 004764eaf19fd46b176cca373ba6d44e25d908a2 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 12 Aug 2012 13:10:12 +0000 Subject: [PATCH] Poprawienie błędu typu "niezdefiniowana wartość" w module pogoda. --- modules/30_pogoda.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/modules/30_pogoda.php b/modules/30_pogoda.php index 2b7f005..14b9145 100644 --- a/modules/30_pogoda.php +++ b/modules/30_pogoda.php @@ -106,6 +106,8 @@ } static function cmd_pogoda($name, $arg) { + $forced = FALSE; + if(empty($arg)) { $arg = database::get($_GET['from'], 'pogoda', 'miasto'); if(empty($arg)) { -- Gitblit v1.9.1