Problems with patch 7672

Jan 27, 2014 at 3:20 PM
User HeDo sent a patch with the follonwing comment:
"I added a parameter check in ReplaceText: both oldValue and newValue should be != null and length > 0"

This makes problems for me, because I am using ReplaceText to replace fields in a document. Some of these fields can be blank.

Can we please change this patch that it just checks the newValue to be not null. (so empty strings are allowed) ?
Jan 28, 2014 at 6:01 AM
uploaded a patch #15781 (we'll see if it gets applied)
Developer
Jan 29, 2014 at 7:03 PM
Done
Marked as answer by MadBoy on 1/29/2014 at 12:04 PM
Jan 30, 2014 at 5:38 AM
Thanks for accepting the patch. Seems to work great !

Sorry for the misconvenience - next time I try harder to send you a correct patch