bug #2315549 [import] fclose() error with "Create PHP code"

This commit is contained in:
Marc Delisle
2008-11-21 17:35:47 +00:00
parent 1cd6bba9c3
commit 5e88c70a15
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2222344 [display] Query involving a function shown as binary
+ [lang] Italian update, thanks to fantu - fantu
+ [lang] Swedish update, thanks to Björn T. Hallberg
- bug #2315549 [import] fclose() error with "Create PHP code"
3.0.2.0 (not yet released)
- [lang] Italian update, thanks to Luca and fantu

View File

@@ -350,7 +350,7 @@ if (!$error) {
}
}
if (! $error && $import_handle !== FALSE) {
if (! $error && FALSE !== $import_handle && NULL !== $import_handle) {
fclose($import_handle);
}