projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEW FEATURE: show exchanged cards in poverty pre-game phase
[e-DoKo.git]
/
include
/
db.php
diff --git
a/include/db.php
b/include/db.php
index 6e1af93c31faa2c64fd5a000467eade4bc5d8143..27d639ebe3a7da832a7a30a55bccf33b4cc6ea25 100644
(file)
--- 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)
{
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)
$r = DB_query_array("SELECT strength,suite FROM Card WHERE id='$card'");
if($r)