mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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);
|
$lines = file($file);
|
||||||
foreach($lines as $l => $line)
|
foreach($lines as $l => $line)
|
||||||
{
|
{
|
||||||
$lines[$l] = trim($line);
|
$lines[$l] = rtrim($line);
|
||||||
}
|
}
|
||||||
|
|
||||||
$group2account = '/cn=[^,]+,ou=groups/ou=accounts/';
|
$group2account = '/cn=[^,]+,ou=groups/ou=accounts/';
|
||||||
|
Loading…
Reference in New Issue
Block a user