From: César Date: Fri, 24 Nov 2023 12:00:09 +0000 (+0100) Subject: Fix conditional X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d4f70d8ee9ff8d3357dc60e1a571970bf2d60479;p=civicrm-core.git Fix conditional --- 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); }