diff --git a/models/contact.php b/models/contact.php index d9992c2c..dcd7442b 100644 --- a/models/contact.php +++ b/models/contact.php @@ -4,9 +4,9 @@ $client_id = intval($_POST['client_id']); $name = sanitizeInput($_POST['name']); $title = sanitizeInput($_POST['title']); $department = sanitizeInput($_POST['department']); -$phone = preg_replace("/[^0-9]/", '',$_POST['phone']); -$extension = preg_replace("/[^0-9]/", '',$_POST['extension']); -$mobile = preg_replace("/[^0-9]/", '',$_POST['mobile']); +$phone = preg_replace("/[^0-9]/", '', $_POST['phone']); +$extension = preg_replace("/[^0-9]/", '', $_POST['extension']); +$mobile = preg_replace("/[^0-9]/", '', $_POST['mobile']); $email = sanitizeInput($_POST['email']); $primary_contact = intval($_POST['primary_contact']); $notes = sanitizeInput($_POST['notes']);