From: Matteo Nastasi Date: Mon, 10 Jul 2017 11:24:17 +0000 (+0200) Subject: pass by reference fixed [5] X-Git-Tag: v5.6.0~27 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=5fda451b4745af01742adaf198face3427c91f75;p=brisk.git pass by reference fixed [5] --- diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index c9002b9..c197b16 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -685,7 +685,7 @@ class Bin5_table extends Table { $rules_name = rules_id2name($rules_id); $this->rules = new $rules_name($this); - // $this->game_init(&$bri->user); + // $this->game_init($bri->user); /* reload of the page with the new layout */ for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) { @@ -702,7 +702,7 @@ class Bin5_table extends Table { $user_cur->comm[$user_cur->step % COMM_N] = ""; $user_cur->step_inc(); - $user_cur->comm[$user_cur->step % COMM_N] = show_table(&$bri, &$user_cur, $user_cur->step+1, TRUE, FALSE); + $user_cur->comm[$user_cur->step % COMM_N] = show_table($bri, $user_cur, $user_cur->step+1, TRUE, FALSE); $user_cur->step_inc(); } return (TRUE);