Update contact.php

Tidy spacing
This commit is contained in:
wrongecho
2023-05-20 19:49:25 +01:00
committed by GitHub
parent eb2c42f4a3
commit 337bd27ee8

View File

@@ -4,9 +4,9 @@ $client_id = intval($_POST['client_id']);
$name = sanitizeInput($_POST['name']); $name = sanitizeInput($_POST['name']);
$title = sanitizeInput($_POST['title']); $title = sanitizeInput($_POST['title']);
$department = sanitizeInput($_POST['department']); $department = sanitizeInput($_POST['department']);
$phone = preg_replace("/[^0-9]/", '',$_POST['phone']); $phone = preg_replace("/[^0-9]/", '', $_POST['phone']);
$extension = preg_replace("/[^0-9]/", '',$_POST['extension']); $extension = preg_replace("/[^0-9]/", '', $_POST['extension']);
$mobile = preg_replace("/[^0-9]/", '',$_POST['mobile']); $mobile = preg_replace("/[^0-9]/", '', $_POST['mobile']);
$email = sanitizeInput($_POST['email']); $email = sanitizeInput($_POST['email']);
$primary_contact = intval($_POST['primary_contact']); $primary_contact = intval($_POST['primary_contact']);
$notes = sanitizeInput($_POST['notes']); $notes = sanitizeInput($_POST['notes']);