Dotclear


Ignore:
Timestamp:
10/22/12 16:46:59 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with \" inside the last field in an imported line - fixes #1331

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/flat/class.flat.backup.php

    r841 r894  
    6161          { 
    6262               $line = preg_replace('/^"|"$/','',$line); 
    63                $line = preg_split('/(^"|","|"$)/m',$line); 
     63               $line = preg_split('/(^"|","|(?<!\\\)\"$)/m',$line); 
    6464                
    6565               if (count($this->line_cols) != count($line)) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map