Skip to content
Snippets Groups Projects
Commit 659c7b9a authored by Daniel Voelskow's avatar Daniel Voelskow
Browse files

#1296 Fix php72 warning on campaigns

parent 4d24a5b1
Branches 536_pajax_iOS_Issues
No related tags found
1 merge request!639#1296 Fix php72 warning on Campaigns.php
......@@ -171,7 +171,7 @@ class Campaigns extends CRMEntity {
if($return_value == null)
$return_value = Array();
else if($is_CampaignStatusAllowed) {
else if($is_CampaignStatusAllowed && is_array($return_value['header'])) {
$statusPos = count($return_value['header']) - 2; // Last column is for Actions, exclude that. Also the index starts from 0, so reduce one more count.
$return_value = $this->add_status_popup($return_value, $statusPos, 'Accounts');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment