From 2526d8ae797fb05bede8f1093872fe57f90deb16 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 18 Feb 2004 16:19:49 +0000 Subject: [PATCH] bug 899610 --- ChangeLog | 3 +++ export.php | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 054de7117..87cce0156 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-02-18 Marc Delisle + * export.php: bug 899610, undefined variable $save_filename + 2004-02-15 Alexander M. Turek * libraries/select_lang.lib.php: Deactivated the code part that disables the UTF-8 language files if $cfg['AllowAnywhereRecoding'] is set to FALSE diff --git a/export.php b/export.php index 150847b79..69e4eb843 100644 --- a/export.php +++ b/export.php @@ -18,9 +18,7 @@ if ($what == 'excel') { $type = $what; } -/** - * Defines the url to return to in case of error in a sql statement - */ +// Get the functions specific to the export type require('./libraries/export/' . preg_replace('@\.\.*@','.',$type) . '.php'); // Generate error url @@ -55,7 +53,7 @@ $time_start = time(); */ function PMA_exportOutputHandler($line) { - global $time_start, $dump_buffer, $dump_buffer_len; + global $time_start, $dump_buffer, $dump_buffer_len, $save_filename; // Kanji encoding convert feature if (function_exists('PMA_kanji_str_conv')) {