From: Steve Sutton Date: Wed, 4 Nov 2015 17:08:50 +0000 (-0500) Subject: Fix for uploads files X-Git-Tag: v0.0.3^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=130258c59a96a685549a40d8f4531b99b9bd873b;p=WP-Plugins%2Fglm-wp-importer.git Fix for uploads files for government --- diff --git a/controllers/ToolboxImport.php b/controllers/ToolboxImport.php index 5219465..2d5581f 100644 --- a/controllers/ToolboxImport.php +++ b/controllers/ToolboxImport.php @@ -962,7 +962,7 @@ // check on format of filename if (!$key && ($fileName && $fileTitle)) { $key = $this->_handleMediaFile( - $fileName, + $fileInfo['basename'], $fileTitle, '', $post->ID,