ci minor fix to avoid conflicts with automated docker builds (#7886)
[openemr.git] / interface / forms / prior_auth / save.php
blob78f00f433c14a181b9ed4ea0abc0189f1d87a08a
1 <?php
3 /**
4 * prior auth form
6 * @package OpenEMR
7 * @link http://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2019 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(__DIR__ . "/../../globals.php");
14 require_once("$srcdir/api.inc.php");
15 require_once("C_FormPriorAuth.class.php");
17 use OpenEMR\Common\Csrf\CsrfUtils;
19 if (!CsrfUtils::verifyCsrfToken($_POST["csrf_token_form"])) {
20 CsrfUtils::csrfNotVerified();
23 $_POST['date_from'] = (!empty($_POST['date_from'])) ? DateToYYYYMMDD($_POST['date_from']) : null;
24 $_POST['date_to'] = (!empty($_POST['date_to'])) ? DateToYYYYMMDD($_POST['date_to']) : null;
26 $c = new C_FormPriorAuth();
27 echo $c->default_action_process($_POST);
28 @formJump();