pass by reference fixed [4]
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 10 Jul 2017 11:21:02 +0000 (13:21 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 10 Jul 2017 11:21:02 +0000 (13:21 +0200)
web/briskin5/Obj/rules_old_rules.phh

index e6c8c31..3aba2a0 100644 (file)
@@ -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);
     }