pull/269678/MERGE
Karson 2017-04-13 12:46:16 +08:00
parent d03b1c5fb0
commit 0a6fda7911
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ class Tree
'@childlist' => $childlist,
'@url' => $childdata || !isset($value['@url']) ? "javascript:;" : url($value['@url']),
'@caret' => ($childdata && !$value['@badge'] ? '<i class="fa fa-angle-left"></i>' : ''),
'@badge' => $value['@badge'],
'@badge' => isset($value['@badge']) ? $value['@badge'] : '',
'@class' => ($selected ? ' active' : '') . ($disabled ? ' disabled' : '') . ($childdata ? ' treeview' : ''),
);
$str .= strtr($nstr, $value);