From d4f70d8ee9ff8d3357dc60e1a571970bf2d60479 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9sar?= Date: Fri, 24 Nov 2023 13:00:09 +0100 Subject: [PATCH] Fix conditional --- CRM/Mailing/Page/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/Page/Common.php b/CRM/Mailing/Page/Common.php index 680777753a..42b6a0e383 100644 --- a/CRM/Mailing/Page/Common.php +++ b/CRM/Mailing/Page/Common.php @@ -44,7 +44,7 @@ class CRM_Mailing_Page_Common extends CRM_Core_Page { } $cancel = CRM_Utils_Request::retrieve("_qf_{$this->_type}_cancel", 'String'); - if ($cancel) { + if (isset($cancel)) { $config = CRM_Core_Config::singleton(); CRM_Utils_System::redirect($config->userFrameworkBaseURL); } -- 2.25.1