Fixed warnings icons

This commit is contained in:
ruan 2018-04-23 08:27:02 +02:00
parent 48e9b8856e
commit b63a0eb3eb
No known key found for this signature in database
GPG Key ID: 0D2EC1C52E469C0B

View File

@ -421,7 +421,7 @@ class Page {
echo "<tr>"; echo "<tr>";
foreach ($array as $header => $text) { foreach ($array as $header => $text) {
$a = "a"; $a = "a";
if ($header === $this->t("warnings.received")) { if ($header === "warnings.received") {
$icon = ($text !== "0") ? "glyphicon-ok" : "glyphicon-remove"; $icon = ($text !== "0") ? "glyphicon-ok" : "glyphicon-remove";
$a .= " class=\"glyphicon $icon\" aria-hidden=true"; $a .= " class=\"glyphicon $icon\" aria-hidden=true";
$text = ""; $text = "";