Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3455

drupal/civicrm.module::civicrm_block('list',...) returns wrong format

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      In CiviCRM 2.1-alpha-4 on Drupal 6.4, the admin/build/block page has a problem showing information about CiviCRM blocks because the returned value goes an array too far. The fix is to replace line 159 of that file with:

      $crm_blocks = CRM_Core_Block::getInfo();
      foreach ($crm_blocks as $crm_block)

      { $block[] = $crm_block['info']; }

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dharmatech Dharmatech
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: