Index: branches/5.3.x/core/units/helpers/spam_helper.php =================================================================== diff -u -N -r15677 -r15928 --- branches/5.3.x/core/units/helpers/spam_helper.php (.../spam_helper.php) (revision 15677) +++ branches/5.3.x/core/units/helpers/spam_helper.php (.../spam_helper.php) (revision 15928) @@ -1,6 +1,6 @@ Expiration = adodb_mktime() + $expiration; + $this->Expiration = time() + $expiration; } /** @@ -177,7 +177,7 @@ $cache =& $this->ExpirationCache[$this->DataType]; $expires = array_key_exists($this->ResourceId, $cache) ? $cache[$this->ResourceId] : false; - if ( $expires && $expires < adodb_mktime() ) { + if ( $expires && $expires < time() ) { // spam control record is expired $sql = 'DELETE FROM ' . $this->TableName . ' WHERE ' . $key_clause;