zhhealthcare/openemr — comment on commit 07cdb1e0f48d33e0d25ce52363b3428106d51c75
File: interface/patient_file/front_payment.php line 14
By bradymiller:

Problem here is that you are using the new security model within a script that is not using it yet. New security model automatically deals with magic quotes, so then sql binding works when magic quotes os off/on. The problem, though, is that in this script the magic quotes are not dealt with, so will likely get weird behavior now when both magic quotes is on or off (otherwise without the new code this script would only work with magic quotes on if a quote was in a variable in a sql query.
HOWEVER, do not change anything. Your changes are extensive enough that it simply makes more sense for me to convert this script to the new security model. See my message at bottom of commit regarding this.