Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addcontributiontabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function addcontributiontabs_civicrm_alterContent(&$content, $context, $tplName,
}
$relTypes = $relTypeResult['values'];
}
catch (CiviCRM_API3_Exception $e) {
catch (CRM_Core_Exception $e) {
CRM_Core_Error::debug_log_message('API Error finding relationship types: ' . $e->getMessage());
}

Expand Down Expand Up @@ -125,7 +125,7 @@ function addcontributiontabs_civicrm_alterContent(&$content, $context, $tplName,
</tr>';
}
}
catch (CiviCRM_API3_Exception $e) {
catch (CRM_Core_Exception $e) {
CRM_Core_Error::debug_log_message('API Error finding contributions: ' . $e->getMessage());
}
}
Expand Down Expand Up @@ -159,7 +159,7 @@ function addcontributiontabs_find_relationships($params, &$related_contact_ids,
);
}
}
catch (CiviCRM_API3_Exception $e) {
catch (CRM_Core_Exception $e) {
CRM_Core_Error::debug_log_message('API Error finding relationships: ' . $e->getMessage());
}
}
Expand Down