Skip to content

Commit

Permalink
Merge pull request #1 from luoxiaojun1992/feature-display-lib-bugfix
Browse files Browse the repository at this point in the history
display lib bugfix
  • Loading branch information
imaben authored May 11, 2017
2 parents 1a544b1 + 749f775 commit b0fadc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhprof_lib/display/xhprof.php
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ function displayRuntimeVars($vars)
foreach ($val as $k => $v) {
echo '<tr ' . ($i++ % 2 == 0 ? '' : 'bgcolor="#e5e5e5"' ).' align=right>';
echo '<td align=left>' . $k . '</td>';
echo '<td class="vwbar">' . $v . '</td></tr>';
echo '<td class="vwbar">' . (is_array($v) ? json_encode($v, JSON_UNESCAPED_UNICODE) : $v) . '</td></tr>';
}
} else {
echo '<tr>';
Expand Down

0 comments on commit b0fadc5

Please sign in to comment.