3e9f5e82db
Replaces the bare "Ticket not found" text response with the shared views/error_404.php partial so users see the full TDS-styled error page. Also collapsed the two identical 404 branches into one check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>