Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovct committed Nov 15, 2018
1 parent bdabed3 commit 7b62341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cleantalk/Antispam/Observer/Predispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ function CheckSpam($arEntity){
'js_timezone' => $timezone,
'REFFERRER_PREVIOUS' => ($ref_pref) ? $ref_pref : null,
'cookies_enabled' => $this->cookies_test(),
'mouse_cursor_positions' => ($pointer_data) ? json_decode($pointer_data) : ''),
'key_press_timestamp' => ($fkp_timestamp) ? $fkp_timestamp : ''),
'page_set_timestamp' => ($ps_timestamp) ? $ps_timestamp : 0),
'mouse_cursor_positions' => ($pointer_data) ? json_decode($pointer_data) : '',
'key_press_timestamp' => ($fkp_timestamp) ? $fkp_timestamp : '',
'page_set_timestamp' => ($ps_timestamp) ? $ps_timestamp : 0,
);
$sender_info = json_encode($sender_info);

Expand Down

0 comments on commit 7b62341

Please sign in to comment.