Skip to content

Commit

Permalink
Merge pull request #78 from xeno010/patch-1
Browse files Browse the repository at this point in the history
Fixed #77 - Report-Details -> Pref.: Boolean values ​​are not shown
  • Loading branch information
Medialoha committed Jul 8, 2014
2 parents 4dff79b + 24c1bf2 commit 254cda1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/reporthelper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ public static function displayPreferences($prefs) {
foreach($values as $key=>$value) {
if (is_array($value))
$value = print_r($value, true);
else if(is_bool($value))
$value = '<input type="checkbox" '.($value ? 'checked="checked"' : '').'>';

echo '<tr><td>'.$key.'</td><td>'.$value.'</td></tr>';
}
Expand Down Expand Up @@ -328,4 +330,4 @@ private static function formatStackTraceCausedByLine(&$line) {

return $line;
}
}
}

0 comments on commit 254cda1

Please sign in to comment.