mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Only the IP and type are required fields
This commit is contained in:
parent
072ff2862e
commit
c3eb4d1632
1 changed files with 1 additions and 4 deletions
|
@ -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'])
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue