From aaf71f15f1c2deab0860ba47c2940885ddd9b767 Mon Sep 17 00:00:00 2001 From: Rod Roark Date: Mon, 20 Dec 2010 10:06:17 -0800 Subject: [PATCH] Fixes for refreshing and closing logic when an issue is saved. --- interface/patient_file/summary/add_edit_issue.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/interface/patient_file/summary/add_edit_issue.php b/interface/patient_file/summary/add_edit_issue.php index 1c958e23e..4ca9c583e 100644 --- a/interface/patient_file/summary/add_edit_issue.php +++ b/interface/patient_file/summary/add_edit_issue.php @@ -200,17 +200,20 @@ if ($_POST['form_save']) { sqlStatement($query); } - $tmp_title = $ISSUE_TYPES[$text_type][2] . ": $form_begin " . - substr($_POST['form_title'], 0, 40); + $tmp_title = addslashes($ISSUE_TYPES[$text_type][2] . ": $form_begin " . + substr($_POST['form_title'], 0, 40)); // Close this window and redisplay the updated list of issues. // echo "\n"; exit(); } -- 2.11.4.GIT