Skip to content

Commit

Permalink
Security fix 9
Browse files Browse the repository at this point in the history
  • Loading branch information
robertogagliotta authored and bradymiller committed Aug 1, 2015
1 parent d9af428 commit e041383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/classes/TreeMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ function _nodeToHTML($nodeObj, $prefix, $return = 'newNode', $currentDepth = 0,
$prefix,
str_replace("'", "\\'", $nodeObj->text),
!empty($nodeObj->icon) ? "'" . $nodeObj->icon . "'" : 'null',
!empty($nodeObj->link) ? "'" . $nodeObj->link . "'" : 'null',
!empty($nodeObj->link) ? "'" . attr($nodeObj->link) . "'" : 'null',
$expanded,
$isDynamic,
$nodeObj->cssClass,
Expand Down

0 comments on commit e041383

Please sign in to comment.