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

Ensure that hookLinks variable gets assigned in CRM/Contact/Page/View.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.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      diff --git CRM/Contact/Page/View.php CRM/Contact/Page/View.php
      index 00cb839..9fd312c 100644
      — CRM/Contact/Page/View.php
      +++ CRM/Contact/Page/View.php
      @@ -163,6 +163,9 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
      if ( is_array( $hookLinks ) )

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

      + else

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

      // add to recently viewed block
      $isDeleted = (bool) CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $this->_contact

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: