From 337bd27ee81913949b0351c7beea70e4f7a5e9d2 Mon Sep 17 00:00:00 2001 From: wrongecho <32306651+wrongecho@users.noreply.github.com> Date: Sat, 20 May 2023 19:49:25 +0100 Subject: [PATCH] Update contact.php Tidy spacing --- models/contact.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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']);