Rename class
This commit is contained in:
@@ -13,7 +13,7 @@ class Wiaas_Admin_Profile {
|
||||
|
||||
$phone = $_POST['phone'];
|
||||
|
||||
if (!Wiaas_Validation_Functions::is_phone($phone)){
|
||||
if (!Wiaas_Validation::is_phone($phone)){
|
||||
$errors->add('phone_error', __( '<strong>ERROR</strong>: Enter valid phone number.', 'crf' ));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user