You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
848 B
27 lines
848 B
<?php |
|
|
|
/** |
|
* Collect status of a report in report_results sql table. |
|
* |
|
* @package OpenEMR |
|
* @link https://www.open-emr.org |
|
* @author Brady Miller <brady.g.miller@gmail.com> |
|
* @copyright Copyright (c) 2012-2018 Brady Miller <brady.g.miller@gmail.com> |
|
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 |
|
*/ |
|
|
|
require_once(dirname(__FILE__) . "/../../interface/globals.php"); |
|
require_once(dirname(__FILE__) . "/../report_database.inc"); |
|
|
|
use OpenEMR\Common\Csrf\CsrfUtils; |
|
|
|
if (!CsrfUtils::verifyCsrfToken($_POST["csrf_token_form"])) { |
|
CsrfUtils::csrfNotVerified(); |
|
} |
|
|
|
// Collect/bookmark a new report id in report_results sql table and send it back. |
|
if (!empty($_POST['status_report_id'])) { |
|
echo getStatusReportDatabase($_POST['status_report_id']); |
|
} else { |
|
echo "ERROR"; |
|
}
|
|
|