BUGIFX: leaked silent solo information in game type
authorArun Persaud <arun@nubati.net>
Sat, 22 Sep 2012 16:18:02 +0000 (09:18 -0700)
committerArun Persaud <arun@nubati.net>
Sat, 22 Sep 2012 16:18:02 +0000 (09:18 -0700)
include/game.php

index ec1be12..4fa950c 100644 (file)
@@ -71,7 +71,10 @@ $GT         = $gametype;
 if($gametype=='solo')
   {
     $gametype = DB_get_solo_by_gameid($gameid);
-    $GT  = $gametype.' '.$GT;
+    if($gametype=='silent')
+      $GT = 'normal';
+    else
+      $GT = $gametype.' '.$GT;
   }
 
 /* do we need to worry about Schweinchen?