From 97aa318802850aa959e5f2467354f4547c5ad025 Mon Sep 17 00:00:00 2001 From: thunderbug Date: Tue, 19 Sep 2017 12:26:48 +0200 Subject: [PATCH] - moet veranderen naar spatie ipv niks #9 --- cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron.php b/cron.php index 3c0edde..a3cc198 100644 --- a/cron.php +++ b/cron.php @@ -56,7 +56,7 @@ if(strpos($row["name"], "-") !== false) { $tRow = $row; - $tRow["name"] = str_replace("-", "", $tRow["name"]); + $tRow["name"] = str_replace("-", " ", $tRow["name"]); checkNameinText($tRow, $postData); } @@ -68,7 +68,7 @@ checkNameinText($tRow, $postData); if(strpos($row["name"], "-") !== false) { - $tRow["name"] = str_replace("-", "", $tRow["name"]); + $tRow["name"] = str_replace("-", " ", $tRow["name"]); checkNameinText($tRow, $postData); } }