From: Matteo Nastasi (mop) Date: Thu, 27 Jan 2011 07:34:52 +0000 (+0100) Subject: assegnation split to avoid php warning X-Git-Tag: 3.1.0~22 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=8bb224a0ce40e72e2c3f1ae82957cd10e449c22b;p=brisk.git assegnation split to avoid php warning --- 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);