From: Matteo Nastasi (mop) Date: Tue, 18 Jan 2011 17:45:40 +0000 (+0100) Subject: changed log_main to verify the strange - Only variable references should be returned... X-Git-Tag: 3.0.1~2 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=e10af923d86fc6521b0389dd0c1f6f98573cc5fb;p=brisk.git 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 --- 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]); }