correct condition, thanks to Michal Biniek
This commit is contained in:
@@ -2657,7 +2657,7 @@ function PMA_replace_binary_contents($content) {
|
|||||||
|
|
||||||
function PMA_duplicateFirstNewline($string){
|
function PMA_duplicateFirstNewline($string){
|
||||||
$first_occurence = strpos($string, "\r\n");
|
$first_occurence = strpos($string, "\r\n");
|
||||||
if ($first_occurence == 0){
|
if ($first_occurence === 0){
|
||||||
$string = "\n".$string;
|
$string = "\n".$string;
|
||||||
}
|
}
|
||||||
return $string;
|
return $string;
|
||||||
|
Reference in New Issue
Block a user