From 7c656f32e0075f7d6129287c6ece6b12555c8d40 Mon Sep 17 00:00:00 2001 From: esensar Date: Wed, 1 Jun 2016 00:02:30 +0200 Subject: [PATCH] LAST --- gori.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gori.php b/gori.php index f0f8a39..436fd9a 100644 --- a/gori.php +++ b/gori.php @@ -15,7 +15,7 @@ if(isset($_POST['vijest'])) { $vijestiFile = file_get_contents($openShiftFolder."vijesti.csv"); $vijest = $_POST['vijest']; - if(strpos($vijest, ',') !== FALSE || strpos($vijest, '\n') !== FALSE) { + if(strpos($vijest, ',') !== FALSE || strpos($vijest, "\n") !== FALSE) { $vijest = str_replace('"', '""', $vijest); $vijest = '"'.$vijest.'"'; }