From 7582c20f81f7d4acab9b3c6e6b14b92f664d3862 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Wed, 9 Jan 2013 13:43:47 -0800 Subject: [PATCH] couple minor bug fixes for previous commit --- interface/forms/aftercare_plan/save.php | 2 +- interface/forms/transfer_summary/save.php | 1 + interface/forms/treatment_plan/save.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/forms/aftercare_plan/save.php b/interface/forms/aftercare_plan/save.php index a891b2fa0..4ea29bd17 100644 --- a/interface/forms/aftercare_plan/save.php +++ b/interface/forms/aftercare_plan/save.php @@ -28,7 +28,7 @@ include_once("../../globals.php"); include_once("$srcdir/api.inc"); include_once("$srcdir/forms.inc"); - +require_once("$srcdir/formdata.inc.php"); if (! $encounter) { // comes from globals.php die(xl("Internal error: we do not seem to be in an encounter!")); diff --git a/interface/forms/transfer_summary/save.php b/interface/forms/transfer_summary/save.php index c961ab801..89fa98d13 100644 --- a/interface/forms/transfer_summary/save.php +++ b/interface/forms/transfer_summary/save.php @@ -28,6 +28,7 @@ include_once("../../globals.php"); include_once("$srcdir/api.inc"); include_once("$srcdir/forms.inc"); +require_once("$srcdir/formdata.inc.php"); if (! $encounter) { // comes from globals.php die(xl("Internal error: we do not seem to be in an encounter!")); diff --git a/interface/forms/treatment_plan/save.php b/interface/forms/treatment_plan/save.php index 810be3aca..52f7743e8 100644 --- a/interface/forms/treatment_plan/save.php +++ b/interface/forms/treatment_plan/save.php @@ -28,6 +28,7 @@ include_once("../../globals.php"); include_once("$srcdir/api.inc"); include_once("$srcdir/forms.inc"); +require_once("$srcdir/formdata.inc.php"); if (! $encounter) { // comes from globals.php die(xl("Internal error: we do not seem to be in an encounter!")); -- 2.11.4.GIT