mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Patch from Oscar (omgs) to fix bug #69: nis2rfc2307bis.php produces corrupts output.
Folded lines got destroyed by a trim, which removes the folding.
This commit is contained in:
parent
181c6def9e
commit
6dcc378964
@ -34,7 +34,7 @@ if ($argc <= 1 || in_array($argv[1],array('-v','--help')) || $argv[1] == '--acco
|
||||
$lines = file($file);
|
||||
foreach($lines as $l => $line)
|
||||
{
|
||||
$lines[$l] = trim($line);
|
||||
$lines[$l] = rtrim($line);
|
||||
}
|
||||
|
||||
$group2account = '/cn=[^,]+,ou=groups/ou=accounts/';
|
||||
|
Loading…
Reference in New Issue
Block a user