diff --git a/p01-contact/src/P01contact_Form.php b/p01-contact/src/P01contact_Form.php index ef6a57c..25997dc 100644 --- a/p01-contact/src/P01contact_Form.php +++ b/p01-contact/src/P01contact_Form.php @@ -212,7 +212,7 @@ private function checkSpam($post) return false; } $loads = Session::get('pageloads'); - if (count($loads > 1) && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) { + if (count($loads) > 1 && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) { $this->setStatus('error_pageload'); return false; }