Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7443 Improve E_WARNING compliance.
  3. CRM-7688

Ensure that subject gets set in CRM/Mailing/Form/Browse.php

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
    • Fix Version/s: 4.1.0
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Ensure that subject always gets set in CRM/Mailing/Form/Browse.php

      diff --git CRM/Mailing/Form/Browse.php CRM/Mailing/Form/Browse.php
      index da576cd..7022e6a 100644
      — CRM/Mailing/Form/Browse.php
      +++ CRM/Mailing/Form/Browse.php
      @@ -71,6 +71,9 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form
      if ($mailing->find(true))

      { $this->assign('subject', $mailing->subject); }

      + else

      { + $this->assign('subject', ''); + }

      }

      /**

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: