Space to separate "&&" so that all "&$var" can be made into "$var" later
[openemr.git] / library / ajax / status_report.php
blob9b090fd665971cb58ee7ffed120c46df1560c109
1 <?php
2 /**
3 * Collect status of a report in report_results sql table.
5 * Copyright (C) 2012 Brady Miller <brady@sparmy.com>
7 * LICENSE: This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
18 * @package OpenEMR
19 * @author Brady Miller <brady@sparmy.com>
20 * @link http://www.open-emr.org
23 //SANITIZE ALL ESCAPES
24 $sanitize_all_escapes=true;
27 //STOP FAKE REGISTER GLOBALS
28 $fake_register_globals=false;
31 require_once(dirname(__FILE__) . "/../../interface/globals.php");
32 require_once(dirname(__FILE__) . "/../report_database.inc");
34 // Collect/bookmark a new report id in report_results sql table and send it back.
35 if (!empty($_POST['status_report_id'])) {
36 echo getStatusReportDatabase($_POST['status_report_id']);
38 else {
39 echo "ERROR";