NEW FEATURE: show exchanged cards in poverty pre-game phase
[e-DoKo.git] / include / db.php
index 6e1af93c31faa2c64fd5a000467eade4bc5d8143..27d639ebe3a7da832a7a30a55bccf33b4cc6ea25 100644 (file)
@@ -852,6 +852,9 @@ function DB_set_recovery_password($user,$newpw)
 
 function DB_get_card_name($card)
 {
+  if($card==0)
+    return 'backside';
+
   $r = DB_query_array("SELECT strength,suite FROM Card WHERE id='$card'");
 
   if($r)