Replace PREG_SPLIT_NO_EMPTY by using trim().

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-08-07 21:57:59 +02:00
parent 3770556732
commit 586224fde2
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ if(in_array($list, $check_lists)) {
}
// Split individual domains into array
$domains = preg_split('/\s+/', $_POST['domain'], -1, PREG_SPLIT_NO_EMPTY);
$domains = preg_split('/\s+/', trim($_POST['domain']));
require_once("func.php");
require_once("database.php");