mirror of https://github.com/itflow-org/itflow
Merge pull request #688 from wrongecho/client-website-remove-protocol-regex
Add regex to remove http:// or https:// from client_website
This commit is contained in:
commit
80fa93626a
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$name = sanitizeInput($_POST['name']);
|
||||
$type = sanitizeInput($_POST['type']);
|
||||
$website = sanitizeInput($_POST['website']);
|
||||
$website = preg_replace("(^https?://)", "", sanitizeInput($_POST['website']));
|
||||
$referral = sanitizeInput($_POST['referral']);
|
||||
$rate = floatval($_POST['rate']);
|
||||
$currency_code = sanitizeInput($_POST['currency_code']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue