From 63a8e76a66bdfba892d3e94fb3ffd7a06c79d44e Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sun, 30 Jun 2013 22:12:32 -0700 Subject: [PATCH] Bug fix in interface/patient_file/summary/pnotes_print.php script (included pnotes.inc library) --- interface/patient_file/summary/pnotes_print.php | 27 +++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/interface/patient_file/summary/pnotes_print.php b/interface/patient_file/summary/pnotes_print.php index ee841c35d..2feb5c569 100644 --- a/interface/patient_file/summary/pnotes_print.php +++ b/interface/patient_file/summary/pnotes_print.php @@ -1,4 +1,22 @@ ;. + * + * @package OpenEMR + * @author Brady Miller + * @link http://www.open-emr.org + */ //SANITIZE ALL ESCAPES $sanitize_all_escapes=true; @@ -8,10 +26,11 @@ $sanitize_all_escapes=true; $fake_register_globals=false; // - include_once("../../globals.php"); - include_once("$srcdir/patient.inc"); - include_once("$srcdir/acl.inc"); - include_once("$srcdir/options.inc.php"); + require_once("../../globals.php"); + require_once("$srcdir/patient.inc"); + require_once("$srcdir/acl.inc"); + require_once("$srcdir/options.inc.php"); + require_once("$srcdir/pnotes.inc"); $prow = getPatientData($pid, "squad, title, fname, mname, lname"); -- 2.11.4.GIT