From 81e1bbf6769c22d94f132953c0891d79396b67d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Loguercio?= Date: Thu, 17 Mar 2016 17:49:17 -0500 Subject: [PATCH] Revert "Fix Questions results stats page does not show minimum score - Refs #8121" --- main/inc/lib/pear/HTML/Table/Storage.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/main/inc/lib/pear/HTML/Table/Storage.php b/main/inc/lib/pear/HTML/Table/Storage.php index f4fb91b3d1..d83f354b89 100755 --- a/main/inc/lib/pear/HTML/Table/Storage.php +++ b/main/inc/lib/pear/HTML/Table/Storage.php @@ -769,18 +769,17 @@ class HTML_Table_Storage extends HTML_Common { } $typeContent = $tabs . $tab . $tab . $extraTab . "<$type" . $this->_getAttrString($attr) . '>'; - - if ($contents || is_numeric($contents)) { - $typeContent .= $contents; - } elseif (empty($contents)) { + + if (empty($contents)) { if (isset($this->_autoFill) && $this->_autoFill) { $contents = $this->_autoFill; } + } else { + $typeContent .= $contents; } - $typeContent .= "" . $lnEnd; - if (!empty($contents) || is_numeric($contents)) { + if (!empty($contents)) { $strHtml .= $typeContent; }