Username not live updating & css overlap bug

This commit is contained in:
2026-01-01 16:14:56 -05:00
parent 7b25ec1dd1
commit b8a0fb011f
4 changed files with 132 additions and 16 deletions

View File

@@ -66,6 +66,11 @@ try {
$auditLog->logCommentCreate($userId, $result['comment_id'], $ticketId);
}
// Add user display name to result for frontend
if ($result['success']) {
$result['user_name'] = $currentUser['display_name'] ?? $currentUser['username'];
}
// Discard any unexpected output
ob_end_clean();