Remove \r from query

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@555 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-02-16 11:27:43 +00:00
parent d044ae0534
commit 20432854a8

View file

@ -8,6 +8,7 @@ page_header(lang('SQL command'), $error);
if (!$error && $_POST) {
if (is_string($query = (isset($_POST["query"]) ? $_POST["query"] : get_file("sql_file")))) {
@set_time_limit(0);
$query = str_replace("\r", "", $query);
$delimiter = ";";
$offset = 0;
$empty = true;