mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-02 21:02:26 +03:00
Fix validation rules for the customer model (#1581)
This commit is contained in:
parent
1040122a62
commit
58f53b1a66
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ class Customers_model extends EA_Model
|
|||
}
|
||||
|
||||
// Make sure all required fields are provided.
|
||||
$require_first_name = filter_var(setting('require_phone_number'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_last_name = filter_var(setting('require_last'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_first_name = filter_var(setting('require_first_name'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_last_name = filter_var(setting('require_last_name'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_email = filter_var(setting('require_email'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_phone_number = filter_var(setting('require_phone_number'), FILTER_VALIDATE_BOOLEAN);
|
||||
$require_address = filter_var(setting('require_address'), FILTER_VALIDATE_BOOLEAN);
|
||||
|
|
Loading…
Reference in a new issue