diff options
author | Arun Persaud <arun@nubati.net> | 2010-03-14 14:36:47 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-03-14 14:36:47 -0700 |
commit | c581cd05476d07f0fd17dab41cbb211a443fd57f (patch) | |
tree | 979cf3f097d6e2237303075ee07578b8f4d27110 /include/newgame.php | |
parent | f47ddae6b4d00d950c3a29d6b7536ce1ae9ac813 (diff) | |
parent | 83fc1a851c69e13808d14f2d5a284c3369409018 (diff) | |
download | e-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.tar.gz e-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.tar.bz2 e-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.zip |
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo
Diffstat (limited to 'include/newgame.php')
-rw-r--r-- | include/newgame.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/newgame.php b/include/newgame.php index d7a2d7f..f06bebe 100644 --- a/include/newgame.php +++ b/include/newgame.php @@ -40,7 +40,7 @@ else DB_update_user_timestamp($myid); - if( !myisset("PlayerA", "PlayerB","PlayerC","PlayerD","dullen","schweinchen","callrule" )) + if( !myisset("PlayerA", "PlayerB","PlayerC","PlayerD","dullen","schweinchen","callrule","lowtrump" )) { /* only get players that want to be in new games */ $names = DB_get_all_user_names_open_for_games(); @@ -80,6 +80,7 @@ else $dullen = $_REQUEST["dullen"]; $schweinchen = $_REQUEST["schweinchen"]; $call = $_REQUEST["callrule"]; + $lowtrump = $_REQUEST["lowtrump"]; /* get the emails addresses of the players */ $EmailA = DB_get_email('name',$PlayerA); @@ -142,7 +143,7 @@ else else /* no follow up, start a new session */ { /* get ruleset information or create new one */ - $ruleset = DB_get_ruleset($dullen,$schweinchen,$call); + $ruleset = DB_get_ruleset($dullen,$schweinchen,$call,$lowtrump); if($ruleset <0) { myerror("Error defining ruleset: $ruleset"); |