4 * Collect/bookmark a new report id in report_results sql table.
7 * @link https://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2012-2018 Brady Miller <brady.g.miller@gmail.com>
10 * @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.php");
16 use OpenEMR\Common\Csrf\CsrfUtils
;
18 if (!CsrfUtils
::verifyCsrfToken($_GET["csrf_token_form"])) {
19 CsrfUtils
::csrfNotVerified();
22 // Collect/bookmark a new report id in report_results sql table and send it back.
23 echo bookmarkReportDatabase();