From: Arun Persaud Date: Sun, 29 Jun 2008 22:52:32 +0000 (-0700) Subject: BUGFIX: got rid of double insert of notes. X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=afdd753932734c300c2edc1a7e0b91e4f44564a0 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 --- 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)