mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 17:52:03 +02:00
ignore CR when comparing textfields for history
This commit is contained in:
parent
6b0edd339e
commit
db180f816d
@ -469,6 +469,10 @@ abstract class bo_tracking
|
|||||||
if ($data[$name] == $old[$name]) continue;
|
if ($data[$name] == $old[$name]) continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elseif (str_replace("\r", '', $old[$name]) == str_replace("\r", '', $data[$name]))
|
||||||
|
{
|
||||||
|
continue; // change only in CR (eg. different OS) --> ignore
|
||||||
|
}
|
||||||
$changed_fields[] = $name;
|
$changed_fields[] = $name;
|
||||||
//echo "<p>$name: ".array2string($data[$name]).' != '.array2string($old[$name])."</p>\n";
|
//echo "<p>$name: ".array2string($data[$name]).' != '.array2string($old[$name])."</p>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user