29 | | define('ALLOW_EDIT_EVENTS_CLAUSE', '((is_fix IS TRUE AND fixdat IS NOT NULL AND ((CURRENT_TIMESTAMP - INTERVAL \'24 hours\') < fixdat)) |
30 | | |
31 | | OR (is_fix IS NOT TRUE AND ((end___ IS NOT NULL AND ((CURRENT_TIMESTAMP - INTERVAL \'24 hours\') < end___)) OR (end___ IS NULL))))'); |
| 29 | define('ALLOW_EDIT_EVENTS_CLAUSE', '((is_fix IS TRUE AND fixdat IS NOT NULL AND |
| 30 | ((CURRENT_TIMESTAMP - INTERVAL \'24 hours\') < fixdat)) OR (is_fix IS NOT TRUE AND |
| 31 | ((end___ IS NOT NULL AND ((CURRENT_TIMESTAMP - INTERVAL \'24 hours\') < end___)) OR (end___ IS NULL))))'); |