mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 00:14:25 -05:00
Fix delete type modifys where no value is given to be deleted. (ITS#2612)
Thanks to Alister Winfield for the patch.
This commit is contained in:
parent
88ce76f24e
commit
3ee11b1c2a
1 changed files with 5 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ perl_back_modify(
|
|||
{
|
||||
XPUSHs(sv_2mortal(newSVpv( mods->sm_values[i].bv_val, 0 )));
|
||||
}
|
||||
|
||||
// Fix delete attrib without value.
|
||||
if ( i == 0) {
|
||||
XPUSHs(sv_newmortal());
|
||||
}
|
||||
}
|
||||
|
||||
PUTBACK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue