From 8638cc1872be3eedfecc1237b54794770d439139 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Mon, 12 Mar 2018 09:14:59 -0700 Subject: [PATCH] PHP 7.2 fix #1484 --- interface/patient_file/summary/disclosure_full.php | 38 ++++++++-------------- library/patient.inc | 10 +++--- 2 files changed, 19 insertions(+), 29 deletions(-) diff --git a/interface/patient_file/summary/disclosure_full.php b/interface/patient_file/summary/disclosure_full.php index 08fc26008..3f155fe33 100644 --- a/interface/patient_file/summary/disclosure_full.php +++ b/interface/patient_file/summary/disclosure_full.php @@ -1,29 +1,17 @@ - * - * LICENSE: 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. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program. If not, see ;. - * - * @package OpenEMR - * @author Visolve - * @author Brady Miller - * @link http://www.open-emr.org + * @package OpenEMR + * @link http://www.open-emr.org + * @author Visolve + * @author Brady Miller + * @copyright Copyright (c) Visolve + * @copyright Copyright (c) 2018 Brady Miller + * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ - require_once("../../globals.php"); require_once("$srcdir/log.inc"); require_once("$srcdir/options.inc.php"); @@ -127,19 +115,19 @@ if ($n>0) {?> } foreach ($result2 as $iter) { - $description =nl2br(text($iter{description})); //for line break if there is any new lines in the input text area field. + $description =nl2br(text($iter{'description'})); //for line break if there is any new lines in the input text area field. ?> - ' class='css_button_small iframe' onclick='top.restoreSession()'> -   + id='' onclick='top.restoreSession()'> +     -   - +   + + * @copyright Copyright (c) 2018 Brady Miller + * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ + use OpenEMR\Services\FacilityService; $facilityService = new FacilityService(); -- 2.11.4.GIT