Skip to content
Snippets Groups Projects
Commit 1c9e213a authored by lobo's avatar lobo
Browse files

Merge pull request #1880 from dlobo/CRM-13434

CRM-13434 - use empty instead of Array::value
parents d1a0d817 e65cf508
Branches
Tags
No related merge requests found
......@@ -422,9 +422,9 @@ class CRM_Core_Block {
CRM_Core_DAO::$_nullObject,
CRM_Core_DAO::$_nullObject
);
foreach ($values as $key => $val) {
if (CRM_Utils_Array::value('title', $val)) {
if (!empty($val['title'])) {
$values[$key]['name'] = CRM_Utils_Array::value('name', $val, $val['title']);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment