fixed the new sorting algorithm
[e-DoKo.git] / index.php
index cf6e94c8a1a12e7d6176f559e707631ef14cecba..6353f34280feafae3a4a378312bcfc9ebf79a617 100644 (file)
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
 error_reporting(E_ALL);
 
 global $REV;
-$REV  ="$Rev$";
+$REV  ="\$Rev$";
 
 include_once("config.php");      
 include_once("output.php");      /* html output only */
@@ -667,7 +667,7 @@ else if(myisset("me"))
          }
        
        $mycards = DB_get_hand($me);
-       sort($mycards);
+       $mycards = mysort($mycards,$gametype);
        echo "<div class=\"mycards\">\n";
        
        if($myturn && !myisset("card"))