From 8bb224a0ce40e72e2c3f1ae82957cd10e449c22b Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 27 Jan 2011 08:34:52 +0100 Subject: [PATCH] assegnation split to avoid php warning --- web/Obj/brisk.phh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 02b91d6..64ed2b3 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2051,7 +2051,9 @@ class Room { if ($login_exists) $idx = -($idx + 1); log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s] count [%d] [%s]", $idx, $sess, $name_new, count($this->user),$this->user[$real_idx]->name)); - return ($this->user[$real_idx]); + + $ret = $this->user[$real_idx]; + return ($ret); } return ($G_false); -- 2.17.1