mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix import to convert quoted-printable cr/lf correctly
This commit is contained in:
parent
de6be340f3
commit
760bed3735
@ -16,6 +16,9 @@
|
||||
Also start with a '#' symbol and a comma separated list will be
|
||||
turned into a number of the same entries.
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
class import_conv
|
||||
{
|
||||
var $currentrecord = array(); /* used for buffering to allow uid lines to go first */
|
||||
@ -48,7 +51,7 @@
|
||||
function import_new_attrib($buffer,$name,$value)
|
||||
{
|
||||
$value = trim($value);
|
||||
$value = ereg_replace('=0D=0A','\n',$value);
|
||||
$value = ereg_replace('=0D=0A',"\n",$value);
|
||||
/* echo '<br>'.$this->id.': '.$name.' => '.$value; */
|
||||
$this->currentrecord += array($name => $value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user