X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FUtils%2FReport.php;h=329bf0f83575839696effa228a7d25970cfdb0f8;hb=914d3734262de491f6a98f84cd5b78c48c7dd365;hp=276ef7fe6bca7781bc3a0eb3ec1daedfcfd14859;hpb=dfc8df7796ddd2a5ff4e221bf47710fb5a096da9;p=civicrm-core.git diff --git a/CRM/Report/Utils/Report.php b/CRM/Report/Utils/Report.php index 276ef7fe6b..329bf0f835 100644 --- a/CRM/Report/Utils/Report.php +++ b/CRM/Report/Utils/Report.php @@ -99,7 +99,7 @@ WHERE TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = %1"; $params = [1 => [$path, 'String']]; $valId[$path] = CRM_Core_DAO::singleValueQuery($sql, $params); } - return CRM_Utils_Array::value($path, $valId); + return $valId[$path] ?? NULL; } /**