From: Matteo Nastasi Date: Mon, 10 Jul 2017 11:21:02 +0000 (+0200) Subject: pass by reference fixed [4] X-Git-Tag: v5.6.0~28 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=9ba799fd90019d1fcf52e416e4b3fb5eb67f710f;p=brisk.git pass by reference fixed [4] --- diff --git a/web/briskin5/Obj/rules_old_rules.phh b/web/briskin5/Obj/rules_old_rules.phh index e6c8c31..3aba2a0 100644 --- a/web/briskin5/Obj/rules_old_rules.phh +++ b/web/briskin5/Obj/rules_old_rules.phh @@ -192,7 +192,7 @@ class Rules_old_rules extends Rules { // Non si cambia mazzo se si abbandona la partita $game_delta = 0; // $table->game_next(0); - $table->game_init(&$bri->user); + $table->game_init($bri->user); } else if ($action == BIN5_RULES_CHECKCHOOSE) { return ($this->rules_checkchoose($bri, $curtime, $action, $user, $opt1, $opt2)); @@ -314,7 +314,7 @@ class Rules_old_rules extends Rules { log_points($user->ip, $curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist); } - $table->game_init(&$bri->user); + $table->game_init($bri->user); return (TRUE); }