projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1428e
)
handle !isset($short['ref']) as '', not null
author
Joe Murray
<joe.murray@jmaconsulting.biz>
Thu, 6 Aug 2015 15:40:06 +0000
(11:40 -0400)
committer
Joe Murray
<joe.murray@jmaconsulting.biz>
Thu, 6 Aug 2015 15:40:06 +0000
(11:40 -0400)
CRM/Core/Block.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Block.php
b/CRM/Core/Block.php
index 0f42416532ec4f5d41fb95a9a35bfec65078202d..9fe861ccbb1d62f63c3fd44390193a9787f9a042 100644
(file)
--- a/
CRM/Core/Block.php
+++ b/
CRM/Core/Block.php
@@
-459,7
+459,7
@@
class CRM_Core_Block {
$value['url'] = CRM_Utils_System::url($short['path'], $short['query'], FALSE);
}
$value['title'] = $short['title'];
- $value['ref'] =
$short['ref']
;
+ $value['ref'] =
isset($short['ref']) ? $short['ref'] : ''
;
if (!empty($short['shortCuts'])) {
foreach ($short['shortCuts'] as $shortCut) {
$value['shortCuts'][] = self::setShortcutValues($shortCut);