use time instead of mktime. fixes #391

This commit is contained in:
Claude 2017-09-26 14:33:44 +02:00
parent c102202745
commit 9c5ae14f4a

View File

@ -74,7 +74,7 @@ class Spamadmin extends CI_Controller
{
$this->db->insert('blocked_ips', array(
'ip_address' => $ip_address,
'blocked_at' => mktime() ,
'blocked_at' => time() ,
'spam_attempts' => $paste_count,
));
}