[REF][PHP8.2] Update CRM_Activity_Form_ActivityView for PHP8.2 support
authorBradley Taylor <hello@brad-taylor.co.uk>
Mon, 6 Nov 2023 19:35:49 +0000 (19:35 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Mon, 6 Nov 2023 20:14:53 +0000 (20:14 +0000)
CRM/Activity/Form/ActivityView.php

index 553c16ebb85022820f01b47344aa064fb99088c9..593ff1924c6057df8ff3fb4053f080138672c485 100644 (file)
@@ -25,6 +25,15 @@ class CRM_Activity_Form_ActivityView extends CRM_Core_Form {
    */
   public $submitOnce = TRUE;
 
+  /**
+   * Used by CRM_Mailing_BAO_Mailing::getMailingContent(), so cannot be removed
+   * (even though at first glance it may look safe)
+   *
+   * @var bool
+   * @internal
+   */
+  public $_mailing_id;
+
   /**
    * Set variables up before form is built.
    */