From b217b91c2d6ce744e0a4275b9289c4ad0f6eeea3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 29 Aug 2012 13:32:47 +0000
Subject: [PATCH] Poprawienie błędutypu "niezainicjowana zmienna" w module pogoda.

---
 modules/10_data/handler.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/10_data/handler.php b/modules/10_data/handler.php
index 9c0c5ee..a897404 100644
--- a/modules/10_data/handler.php
+++ b/modules/10_data/handler.php
@@ -73,7 +73,7 @@
 	}
 	
 	function imieniny($msg, $params) {
-		$arg = funcs::utfToAscii($arg);
+		$arg = funcs::utfToAscii($msg->args);
 		
 		if(empty($arg)) {
 			return new BotMsg('Nie podano imienia!<br />'."\n"

--
Gitblit v1.9.1