From 91547505ee1ca685864f238e1db67b71aa8dc33f Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 16 Sep 2012 20:40:13 +0000
Subject: [PATCH] Poprawienie niepoprawnego użycia $msg->session (brak wywołania metody setClass()) w module kino.

---
 modules/70_kino/handler.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/70_kino/handler.php b/modules/70_kino/handler.php
index 93b5304..79b67ef 100644
--- a/modules/70_kino/handler.php
+++ b/modules/70_kino/handler.php
@@ -97,6 +97,7 @@
 	
 	function ustaw($msg, $params) {
 		$arg = funcs::utfToAscii($msg->args);
+		$msg->session->setClass('kino');
 		
 		if(empty($arg)) {
 			unset($msg->session->kino);
@@ -112,6 +113,7 @@
 	
 	function handle($msg, $params) {
 		$arg = funcs::utfToAscii($msg->args);
+		$msg->session->setClass('kino');
 		
 		if(empty($arg)) {
 			$arg = $msg->session->kino;

--
Gitblit v1.9.1