From 873110104daa4ddd6233317b08141e44bed54ef3 Mon Sep 17 00:00:00 2001 From: Rod Roark Date: Tue, 13 Sep 2011 15:42:19 -0700 Subject: [PATCH] Fix saving of quotes in letter generator. --- interface/patient_file/letter.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/patient_file/letter.php b/interface/patient_file/letter.php index 99e6be236..1f6ad3621 100644 --- a/interface/patient_file/letter.php +++ b/interface/patient_file/letter.php @@ -1,11 +1,15 @@ +// Copyright (C) 2007-2011 Rod Roark // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. +// Undo magic quotes and do not allow fake register globals. +$sanitize_all_escapes = true; +$fake_register_globals = false; + include_once("../globals.php"); include_once($GLOBALS['srcdir'] . "/patient.inc"); -- 2.11.4.GIT