Plugin Directory

Changeset 3394242


Ignore:
Timestamp:
11/12/2025 11:04:01 AM (5 months ago)
Author:
esaia
Message:

tagging 2.0.4

Location:
interactive-real-estate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • interactive-real-estate/tags/2.0.4/includes/controllers/DataImportExport.php

    r3394128 r3394242  
    9797
    9898
    99 
    10099                $inserted_id = Irep_DB::table($table)->create($row);
    101100                $id_mapping[$table][$old_id] = $inserted_id;
     
    140139                $row = $this->prepare_polygon_svg_data($row, ['follow_link']);
    141140            }
     141
     142            $typeData = json_decode($row['type'], true);
     143
     144            $typeData['image_2d'] = [];
     145            $typeData['image_3d'] = [];
     146
     147            $row['type'] = json_encode($typeData);
     148
    142149
    143150            $inserted_id = Irep_DB::table('irep_flats')->create($row);
  • interactive-real-estate/trunk/includes/controllers/DataImportExport.php

    r3394128 r3394242  
    9797
    9898
    99 
    10099                $inserted_id = Irep_DB::table($table)->create($row);
    101100                $id_mapping[$table][$old_id] = $inserted_id;
     
    140139                $row = $this->prepare_polygon_svg_data($row, ['follow_link']);
    141140            }
     141
     142            $typeData = json_decode($row['type'], true);
     143
     144            $typeData['image_2d'] = [];
     145            $typeData['image_3d'] = [];
     146
     147            $row['type'] = json_encode($typeData);
     148
    142149
    143150            $inserted_id = Irep_DB::table('irep_flats')->create($row);
Note: See TracChangeset for help on using the changeset viewer.