Skip to content
Snippets Groups Projects
Commit 3ee11b1c authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix delete type modifys where no value is given to be deleted. (ITS#2612)

Thanks to Alister Winfield for the patch.
parent 88ce76f2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment