From 2bf70868bbd9c69036470b4a9cbfe2fe29e1a8fc Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 13 Jul 2011 00:19:11 +0530 Subject: [PATCH] Avoid undefined variables --- libraries/import/shp.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/import/shp.php b/libraries/import/shp.php index abee9632f2..bd9fc50d98 100644 --- a/libraries/import/shp.php +++ b/libraries/import/shp.php @@ -217,6 +217,7 @@ if (isset($plugin_list)) { $GLOBALS['import_text'] = $zip_content['data']; } + $temp_dbf_file = false; // We need dbase extension to handle .dbf file if (extension_loaded('dbase')) { // If we can extract the zip archive to 'TempDir' and use the files in it for import