missing GLOBAL var change fixed
[brisk.git] / web / briskin5 / Obj / rules_old_rules.phh
index 0d2259a..eca34f6 100644 (file)
@@ -29,6 +29,7 @@ class Rules_old_rules extends Rules {
     function __construct($table)
     {
         parent::__construct($table);
+        $this->id = 1;
     }
 
     static function asta2mult($asta_pnt)
@@ -261,7 +262,7 @@ class Rules_old_rules extends Rules {
     static function game_description($act, $form, $old_mult, $win = -1, $win_name = "?1?", $fri = -1, $fri_name = "?2?",
                               $old_pnt = -1, $old_asta_pnt = -1, $old_tourn_pts = -1)
     {
-        GLOBAL $G_lang, $mlang_bin5_bin5;
+        GLOBAL $G_lang, $mlang_bin5_rules;
 
         if ($form == 'html') {
             $tg_br = "<br>";