Skip to content

Commit

Permalink
Fix: PHP5.3 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Aug 14, 2019
1 parent 26fbb4a commit 020a3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antispambycleantalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ private function get_sender_info()
$js_timezone = (isset($_COOKIE['ct_timezone']) ? $_COOKIE['ct_timezone'] : '');
$first_key_timestamp = (isset($_COOKIE['ct_fkp_timestamp']) ? $_COOKIE['ct_fkp_timestamp'] : '');
$pointer_data = (isset($_COOKIE['ct_pointer_data']) ? json_decode($_COOKIE['ct_pointer_data']) : '');
$cms_lang = strtolower(explode("-", JFactory::getLanguage()->getTag())[0]);
$cms_lang = strtolower(explode("-", reset(JFactory::getLanguage()->getTag())));

$config = $this->getCTConfig();

Expand Down

0 comments on commit 020a3a8

Please sign in to comment.