Setup script bootstrapped with new theme selector - Take 2 (#2139)
[openemr.git] / library / ajax / lists_touch.php
blobeb6f28f91e3991beea8122e6de233c9c38abd91a
1 <?php
2 /**
3 * This file contains a function to keep track of which issues
4 * types get modified.
6 * @package OpenEMR
7 * @link http://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2011-2018 Brady Miller <brady.g.miller@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 require_once(dirname(__FILE__) . "/../../interface/globals.php");
15 require_once(dirname(__FILE__) . "/../lists.inc");
17 if (!verifyCsrfToken($_POST["csrf_token_form"])) {
18 csrfNotVerified();
21 // IF there is a pid and type then will set the entry in lists_touch table
22 if (!(empty($_POST['patient_id'])) && !(empty($_POST['type']))) {
23 setListTouch($_POST['patient_id'], $_POST['type']);