Permalink
Browse files

Fix numformat warnings

  • Loading branch information...
1 parent 2050461 commit c9566788b57eba2abc6166c8fa6cc909cd9bf6a7 @c9s c9s committed Apr 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xhprof_lib/display/xhprof.php
@@ -621,7 +621,7 @@ function print_td_num($num, $fmt_func, $bold=false, $attributes=null) {
$class = get_print_class($num, $bold);
- if (!empty($fmt_func)) {
+ if (!empty($fmt_func) && !is_string($num) ) {
$num = call_user_func($fmt_func, $num);
}

0 comments on commit c956678

Please sign in to comment.