Setup script bootstrapped with new theme selector - Take 2 (#2139)
[openemr.git] / library / ajax / collect_new_report_id.php
bloba1fb49e0086cb4459cfce0603826e21cb194d915
1 <?php
2 /**
3 * Collect/bookmark a new report id in report_results sql table.
5 * @package OpenEMR
6 * @link http://www.open-emr.org
7 * @author Brady Miller <brady.g.miller@gmail.com>
8 * @copyright Copyright (c) 2012-2018 Brady Miller <brady.g.miller@gmail.com>
9 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 require_once(dirname(__FILE__) . "/../../interface/globals.php");
14 require_once(dirname(__FILE__) . "/../report_database.inc");
16 if (!verifyCsrfToken($_GET["csrf_token_form"])) {
17 csrfNotVerified();
20 // Collect/bookmark a new report id in report_results sql table and send it back.
21 echo bookmarkReportDatabase();