From b19fa8150fedfeaff8432f5e9000933ab786d0b1 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 26 Dec 2024 11:14:38 +0100 Subject: Small fix --- cgi/contact.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cgi') diff --git a/cgi/contact.php b/cgi/contact.php index 2a8d579..eac2c1e 100755 --- a/cgi/contact.php +++ b/cgi/contact.php @@ -1,6 +1,6 @@ text($body) ); header("Location: /pages/sent.php"); -} catch (TransportException $ex) { - header("Location: /pages/sent_error.php"); +} catch (TransportExceptionInterface $ex) { + header("Location: /pages/sent-error.php"); } -- cgit v1.2.3