summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-06-29 15:52:32 -0700
committerArun Persaud <arun@nubati.net>2008-06-29 15:52:32 -0700
commitafdd753932734c300c2edc1a7e0b91e4f44564a0 (patch)
treeb6fd4abd8bbff1c8805aa8f1b218538455d95fb0 /include/game.php
parent12a7da9216b33c12ecc7939be1f6e8a48a273b00 (diff)
downloade-DoKo-afdd753932734c300c2edc1a7e0b91e4f44564a0.tar.gz
e-DoKo-afdd753932734c300c2edc1a7e0b91e4f44564a0.tar.bz2
e-DoKo-afdd753932734c300c2edc1a7e0b91e4f44564a0.zip
BUGFIX: got rid of double insert of notes.
when you wrote a personal note on your turn, it got inserted into the database twice Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/game.php b/include/game.php
index 2ab444b..95c055d 100644
--- a/include/game.php
+++ b/include/game.php
@@ -1363,14 +1363,6 @@ switch($mystatus)
$comment = $commentSchweinchen . $comment;
};
- /* check for note */
- if(myisset('note'))
- {
- $note = $_REQUEST['note'];
- if($note != '')
- DB_insert_note($note,$gameid,$myid);
- };
-
/* display played card */
$pos = DB_get_pos_by_hash($me);
if($sequence==1)