1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 16:17:48 +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;

View File

@@ -8,6 +8,7 @@ Add button for dropping an index
Display number of selected rows
Disable underlining links
Improve speed of CSV import
Don't append newlines to uploaded files, bug since Adminer 3.7.0
PostgreSQL: Fix handling of nextval() default values
Adminer 3.7.1 (released 2013-06-29):