Skip to content

Commit

Permalink
Fixed issue: Date question type records erroneous dates in DB if date…
Browse files Browse the repository at this point in the history
… format is not YYYY-MM-dd

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9289 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Oct 20, 2010
1 parent 20b6ad2 commit 86f3974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save.php
Expand Up @@ -599,7 +599,7 @@ function createinsertquery()
{
$qfield = db_quoteall($_POST[$field],true);
}
$query .= db_quote_id($field)." = ".db_quoteall($_POST[$field],true).",";
$query .= db_quote_id($field)." = ".$qfield.",";
}
}
}
Expand Down

0 comments on commit 86f3974

Please sign in to comment.