andrewying/kloxo — comment on commit af7506e74b4caad275b4d3c8b3e78763935fc4a2
File:  line 0
By shazarlx:

- $param['forwardaddress'] = trim($param['forwardaddress'], "'");
69 + $param['forwardaddress'] = trim($param['forwardaddress'], '\'');

Did you test this? Escaping does not work with the literal single quotes. You are trying to escape a single quote within single quotes. I print out of this should show:

\'

Where I think you want:
'