Revision 1072
Added by Matthias over 15 years ago
view.php | ||
---|---|---|
435 | 435 |
$submitted_by = 0; |
436 | 436 |
} |
437 | 437 |
$email_body = $wb->add_slashes($email_body); |
438 |
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_submissions (page_id,section_id,submitted_when,submitted_by,body) VALUES ('".PAGE_ID."','$section_id','".mktime()."','$submitted_by','$email_body')");
|
|
438 |
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_submissions (page_id,section_id,submitted_when,submitted_by,body) VALUES ('".PAGE_ID."','$section_id','".time()."','$submitted_by','$email_body')"); |
|
439 | 439 |
// Make sure submissions table isn't too full |
440 | 440 |
$query_submissions = $database->query("SELECT submission_id FROM ".TABLE_PREFIX."mod_form_submissions ORDER BY submitted_when"); |
441 | 441 |
$num_submissions = $query_submissions->numRows(); |
Also available in: Unified diff
replaced all remaining mktime() with time(), except from third party scripts