Skip to content
Snippets Groups Projects
Commit 8fc938e3 authored by jaapjansma's avatar jaapjansma
Browse files

Merge branch 'php8.1-compat' into 'master'

PHP 8.1 compatibility - don't pull NULL to stripos

See merge request !110
parents fdca5c21 72999dc9
No related branches found
No related tags found
1 merge request!110PHP 8.1 compatibility - don't pull NULL to stripos
......@@ -185,7 +185,7 @@ function dataprocessor_civicrm_config(&$config) {
}
}
$currentUrl = CRM_Utils_System::currentPath();
$currentUrl = CRM_Utils_System::currentPath() ?? '';
if (stripos($currentUrl, 'civicrm/contact/search/custom') !== FALSE && CRM_Utils_Request::retrieve('ssID', 'Integer')
&& class_exists('CRM_Contact_Form_Search_Custom_Base')) {
// NOTE: Do not load this class unless we're very likely to need it.
......
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