mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Ticketing updates - guest view & resolved vs closed
- Swap autclose for resolved to allow temporarily re-opening resolved tickets for 72 hrs after closure - Add guest view URL for tickets
This commit is contained in:
@@ -738,6 +738,10 @@ function sanitizeForEmail($data)
|
||||
|
||||
function timeAgo($datetime)
|
||||
{
|
||||
if (is_null($datetime)) {
|
||||
return "-";
|
||||
}
|
||||
|
||||
$time = strtotime($datetime);
|
||||
$difference = $time - time(); // Changed to handle future dates
|
||||
|
||||
|
||||
Reference in New Issue
Block a user