From 16849cfe92c69db77fd8c7206afa4e7e39245671 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 30 Nov 2008 11:39:28 +0000 Subject: [PATCH] correct condition, thanks to Michal Biniek --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 8f09acc8b..74d0a1d48 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2657,7 +2657,7 @@ function PMA_replace_binary_contents($content) { function PMA_duplicateFirstNewline($string){ $first_occurence = strpos($string, "\r\n"); - if ($first_occurence == 0){ + if ($first_occurence === 0){ $string = "\n".$string; } return $string;