Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Bug #61720 #154

Open
wants to merge 1 commit into from

1 participant

@gunnicom

Saving import mapping does not work correctly

@gunnicom gunnicom Bug #61720
Saving import mapping does not work correctly
3e697c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2013
  1. @gunnicom

    Bug #61720

    gunnicom authored
    Saving import mapping does not work correctly
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 5 deletions.
  1. +5 −5 modules/Import/Importer.php
View
10 modules/Import/Importer.php
@@ -112,16 +112,16 @@ public function __construct($importSource, $bean)
public function import()
{
- foreach($this->importSource as $row)
- {
- $this->importRow($row);
- }
-
// save mapping if requested
if ( isset($_REQUEST['save_map_as']) && $_REQUEST['save_map_as'] != '' )
{
$this->saveMappingFile();
}
+
+ foreach($this->importSource as $row)
+ {
+ $this->importRow($row);
+ }
$this->importSource->writeStatus();
Something went wrong with that request. Please try again.