diff --git a/front/userNotifications.php b/front/userNotifications.php index c53b9d9d..17c8a548 100755 --- a/front/userNotifications.php +++ b/front/userNotifications.php @@ -117,7 +117,8 @@ require 'php/templates/header.php'; var guid = data.split(":")[1].trim(); return `Go to Report`; } else { - return data; + // clear quotes (") if wrapped in them + return (data.startsWith('"') && data.endsWith('"')) ? data.slice(1, -1) : data; } } }, @@ -208,6 +209,7 @@ require 'php/templates/header.php'; }); +