From bb4bc459761c664cafe44b291ff23b21b6d921e9 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 2 Nov 2004 14:05:43 +0000 Subject: [PATCH] RFE #1053039 - show file name of uploaded file --- ChangeLog | 1 + read_dump.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e188f42e3..d53c3b31d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2004-11-09 Garvin Hicking + * read_dump.php: RFE #1053039, show filename of uploaded SQL file * sql.php, tbl_indexes.php, libraries/tbl_indexes.lib.php, lang/*: Added checks for common problems with table indices. Serves as a stub for future checks, currently implemented are diff --git a/read_dump.php b/read_dump.php index 8ff3d4c2e..5e1e7db74 100644 --- a/read_dump.php +++ b/read_dump.php @@ -411,7 +411,9 @@ if (!empty($id_bookmark) && $action_bookmark == 2) { $message = $strNoQuery; } } else if ($sql_query_cpy == '') { - $message = "$strSuccess:
$strTheContent ($pieces_count $strInstructions) "; + $message = "$strSuccess:
$strTheContent (" + . (isset($sql_file_name) ? $sql_file_name . ': ' : '') + . "$pieces_count $strInstructions) "; } else { $message = $strSuccess; }