[REF][PHP8.2] Replace dynamic property with local var - mailing browse
authorBradley Taylor <hello@brad-taylor.co.uk>
Thu, 21 Dec 2023 17:48:07 +0000 (17:48 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Thu, 21 Dec 2023 17:48:07 +0000 (17:48 +0000)
CRM/Mailing/Page/Browse.php

index 6fd93bdfa0248e70163bfcd5f2a52e31e97de625..8bc730b8feccd038ed16158c7e06c19600916466 100644 (file)
@@ -139,9 +139,9 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
     }
     $this->set('scheduled', $this->_scheduled);
 
-    $this->_createdId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, FALSE, 0);
-    if ($this->_createdId) {
-      $this->set('createdId', $this->_createdId);
+    $createdId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, FALSE, 0);
+    if ($createdId) {
+      $this->set('createdId', $createdId);
     }
 
     if ($this->_sms) {