diff --git a/application/models/Consents_model.php b/application/models/Consents_model.php index 7800a6bf..61db0f4b 100644 --- a/application/models/Consents_model.php +++ b/application/models/Consents_model.php @@ -60,10 +60,7 @@ class Consents_model extends EA_Model { public function validate(array $consent) { if ( - empty($consent['first_name']) - || empty($consent['last_name']) - || empty($consent['email']) - || empty($consent['ip']) + empty($consent['ip']) || empty($consent['type']) ) {