mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
check that an attribute is defined and not just non-zero
(This used to be commit 8c18174a899e9578e0e82d17c7602e84b342644c)
This commit is contained in:
parent
098fea0fa8
commit
b93851af13
@ -93,7 +93,7 @@ while ( !$ldif->eof ) {
|
||||
|
||||
|
||||
foreach $key ( keys %attr_map ) {
|
||||
if ( $entry->get_value($key) ) {
|
||||
if ( defined($entry->get_value($key)) ) {
|
||||
$entry->add( $attr_map{$key} => $entry->get_value($key) );
|
||||
$entry->delete( $key );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user