assegnation split to avoid php warning
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 27 Jan 2011 07:34:52 +0000 (08:34 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 27 Jan 2011 07:34:52 +0000 (08:34 +0100)
web/Obj/brisk.phh

index 02b91d6..64ed2b3 100644 (file)
@@ -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);