projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12a7da9
)
BUGFIX: got rid of double insert of notes.
author
Arun Persaud
<arun@nubati.net>
Sun, 29 Jun 2008 22:52:32 +0000
(15:52 -0700)
committer
Arun Persaud
<arun@nubati.net>
Sun, 29 Jun 2008 22:52:32 +0000
(15:52 -0700)
when you wrote a personal note on your turn, it got inserted into the database twice
Signed-off-by: Arun Persaud <arun@nubati.net>
include/game.php
patch
|
blob
|
history
diff --git
a/include/game.php
b/include/game.php
index 2ab444b1aa0d418007efe0407f9479e7071c22cb..95c055d5a0c42aab25dab9bb7cf7e50af257a843 100644
(file)
--- 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)