From e10af923d86fc6521b0389dd0c1f6f98573cc5fb Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 18 Jan 2011 18:45:40 +0100 Subject: [PATCH] changed log_main to verify the strange - Only variable references should be returned by reference in /home/nastasi/web/brisk/Obj/brisk.phh on line 2038 - message --- web/Obj/brisk.phh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index cad9420..999a183 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2031,10 +2031,10 @@ class Room { } } // if ($ghost > -1) { - log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s]", $idx, $sess, $name_new)); $real_idx = $idx; 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]); } -- 2.17.1