Commit 7e829805 authored by KYC's avatar KYC

check_input opmerking, sql update aangepast

parent db2d2482
......@@ -86,7 +86,7 @@ if (empty($_POST['getActivityID']) == FALSE) {
}
// check the POST variable Comment is correct
if (sanityCheck($_POST['opmerking'], 'string', 80) != FALSE) {
if (strlen($_POST['opmerking']) < 80) {
$comment = $_POST['opmerking'];
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment