From e7995cefb1072a95bad899e6836ee9136dc52dcb Mon Sep 17 00:00:00 2001 From: bradymiller Date: Tue, 16 Oct 2012 12:28:14 -0700 Subject: [PATCH] bug fix for apostrophe in facility name --- interface/forms/newpatient/save.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/forms/newpatient/save.php b/interface/forms/newpatient/save.php index 4c716a6c6..8446d50d0 100644 --- a/interface/forms/newpatient/save.php +++ b/interface/forms/newpatient/save.php @@ -43,7 +43,7 @@ if ($mode == 'new') "date = '$date', " . "onset_date = '$onset_date', " . "reason = '$reason', " . - "facility = '$facility', " . + "facility = '" . add_escape_custom($facility) . "', " . "pc_catid = '$pc_catid', " . "facility_id = '$facility_id', " . "billing_facility = '$billing_facility', " . -- 2.11.4.GIT