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;