Highway to PSR2
[openemr.git] / library / ajax / lists_touch.php
blobcd86dd25b1a4e05032a5785c8c53a0a1aa1f279a
1 <?php
2 // Copyright (C) 2011 Brady Miller <brady.g.miller@gmail.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 //
10 // This file contains a function to keep track of which issues
11 // types get modified.
16 require_once(dirname(__FILE__) . "/../../interface/globals.php");
17 require_once(dirname(__FILE__) . "/../lists.inc");
19 // IF there is a pid and type then will set the entry in lists_touch table
20 if (!(empty($_POST['patient_id'])) && !(empty($_POST['type']))) {
21 setListTouch($_POST['patient_id'], $_POST['type']);