Skip to content
Snippets Groups Projects
Commit 23a5baab authored by Pradeep Nayak's avatar Pradeep Nayak
Browse files

Fixed fatal error for php8

parent 34fa05f7
Branches
Tags
No related merge requests found
......@@ -22,12 +22,12 @@ class CRM_Documents_Page_ContactDocuments extends CRM_Core_Page {
$filter = CRM_Utils_Request::retrieve('filter', 'String');
$this->assign('snippet', $snippet && $filter ? true : false);
$type_id = CRM_Utils_Request::retrieve('type_id', 'String');
$type_ids = null;
$type_ids = [];
if ($type_id) {
$type_ids = explode(",", $type_id);
}
$status_id = CRM_Utils_Request::retrieve('status_id', 'String');
$status_ids = null;
$status_ids = [];
if ($status_id) {
$status_ids = explode(",", $status_id);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment