QuickTable: render booleans as such

fixes #602
This commit is contained in:
Thomas Gelf 2017-07-27 10:37:11 +02:00
parent 8333c2f754
commit 9f76efc892
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ abstract class QuickTable implements Paginatable, ValidHtml
if ($value === null) {
if ($val === null) {
$value = '-';
} elseif (is_array($val) || $val instanceof stdClass) {
} elseif (is_array($val) || $val instanceof stdClass || is_bool($val)) {
$value = '<pre>'
. $this->view()->escape(PlainObjectRenderer::render($val))
. '</pre>';