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.'"'; }