Fixed bug in location import

This commit is contained in:
snipe
2015-11-02 19:27:07 -08:00
parent f147a0ff02
commit 577c193661
+3 -1
View File
@@ -256,9 +256,11 @@ class AssetImportCommand extends Command {
$this->comment('Location '.$user_asset_location.' already exists');
} else {
$location = new Location();
if ($user_asset_location!='') {
$location = new Location();
$location->name = e($user_asset_location);
$location->address = '';
$location->city = '';