Skip to content

Commit bbb6b00

Browse files
committed
Merge pull request #112 from ucfcdl/UDOIT_issue110
Fixes issue #110
2 parents 39c6e61 + 100d68c commit bbb6b00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

public/process.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@
8383
$db_reports_table
8484
(user_id, course_id, file_path, date_run, errors, suggestions)
8585
VALUES
86-
(:userid, :courseid, :filepath, :time, :errors, :suggestions)");
87-
$now = time();
88-
$sth->bindParam(':time', $now, PDO::PARAM_INT);
86+
(:userid, :courseid, :filepath, CURRENT_TIMESTAMP, :errors, :suggestions)");
8987
$sth->bindParam(':userid', $user_id, PDO::PARAM_INT);
9088
$sth->bindParam(':courseid', $data['course_id'], PDO::PARAM_INT);
9189
$sth->bindParam(':filepath', $file, PDO::PARAM_STR);

0 commit comments

Comments
 (0)