diff options
author | Arun Persaud <arun@nubati.net> | 2009-01-24 17:30:53 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-01-24 17:30:53 -0800 |
commit | 193099c75801f128beb8f3bb9541a3cb70f24002 (patch) | |
tree | 487d7542ff7e2507a72816081280c357b75134c0 /include/db.php | |
parent | 8a9ed1ff99fcb888818c2efec5807a8a3e896e04 (diff) | |
download | e-DoKo-193099c75801f128beb8f3bb9541a3cb70f24002.tar.gz e-DoKo-193099c75801f128beb8f3bb9541a3cb70f24002.tar.bz2 e-DoKo-193099c75801f128beb8f3bb9541a3cb70f24002.zip |
NEW FEATURE: show exchanged cards in poverty pre-game phase
now you can see the cards that are exchanged during the pre-game setup.
Also added a "trump back" message in case trump has been given back.
Diffstat (limited to 'include/db.php')
-rw-r--r-- | include/db.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/db.php b/include/db.php index 6e1af93..27d639e 100644 --- a/include/db.php +++ b/include/db.php @@ -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) |