Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CDNTaxReceipts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • CDNTaxReceipts
  • Issues
  • #4
Closed
Open
Created Oct 16, 2013 by KarinG@KarinGMaintainer

After generating tax receipts CiviCRM displays the status message "Array"

Created by: lolaslade

The issue is the call to CRM_Core_Session::setStatus with and array. Perhaps it is a change in this version? We had this issue on CiviCRM 4.3.7. Recommend changing:

CRM_Core_Session::setStatus($status, '', 'info');

to

  foreach ($status as $status_message) {
      CRM_Core_Session::setStatus($status_message, '', 'info');
  }

The other way would be to join the messages into one string before showing the status.

eg.

$status_message = implode('<br />', $status);
CRM_Core_Session::setStatus($status_message, '', 'info');
Assignee
Assign to
Time tracking