1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Don't append newlines to uploaded files

This commit is contained in:
Jakub Vrana
2013-07-13 18:36:27 -07:00
parent ffb2b5e80c
commit feeda916f7
2 changed files with 2 additions and 1 deletions

View File

@@ -643,8 +643,8 @@ function get_file($key, $decompress = false) {
} elseif ($start == "\xEF\xBB\xBF") { // UTF-8 BOM
$content = substr($content, 3);
}
$return .= $content . "\n\n";
}
$return .= $content . "\n\n";
}
//! support SQL files not ending with semicolon
return $return;