Skip to content

Commit

Permalink
fixes for submit_time
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovct committed Jun 9, 2018
1 parent c93ea97 commit bcb8847
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cleantalkMod.php
Original file line number Diff line number Diff line change
Expand Up @@ -896,10 +896,7 @@ function cleantalk_load()
!$user_info['is_admin']//!cleantalk_is_valid_js()
) {

// Set session submit_time
$_SESSION['ct_form_start_time'] = time();

// Output JS for users
// Output JS for users
$context ['html_headers'] .= cleantalk_print_js_input();
}

Expand Down

0 comments on commit bcb8847

Please sign in to comment.