From 966549e1acf4fc905b1cfe35446171b0f127e5a1 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 4 Nov 2008 20:52:08 +0000 Subject: [PATCH] bug #2222230 [import] Assigning a value in import.php --- ChangeLog | 2 ++ import.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7249447c9..858447983 100644 --- a/ChangeLog +++ b/ChangeLog @@ -35,6 +35,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA 3.0.2.0 (not yet released) - [lang] Italian update, thanks to Luca and fantu - bug #2107583 [GUI] Leading newline truncated, thanks to Isart Montane +- bug #2222230 [import] Assigning a value in import.php, thanks to + Glen Arason 3.0.1.1 (2008-10-30) - [security] XSS in a Designer component diff --git a/import.php b/import.php index 73e1223c2..6dc0c222f 100644 --- a/import.php +++ b/import.php @@ -200,7 +200,7 @@ if (empty($memory_limit)) { $memory_limit = 2 * 1024 * 1024; } // In case no memory limit we work on 10MB chunks -if ($memory_limit = -1) { +if ($memory_limit == -1) { $memory_limit = 10 * 1024 * 1024; }