Changed space placement to remove unnecessary space when condition is not met

This commit is contained in:
Hubert Kasperek 2023-05-02 19:40:30 +02:00 committed by GitHub
parent 870ef39b8c
commit 88df13340a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
continue; continue;
} }
echo "<a " . (($category_index == $type) ? "class=\"active\"" : "") . " href=\"/search.php?q=" . $query . "&p=0&t=" . $category_index . "\"><img src=\"static/images/" . $category . "_result.png\" alt=\"" . $category . " result\" />" . ucfirst($category) . "</a>"; echo "<a " . (($category_index == $type) ? "class=\"active\" " : "") . "href=\"/search.php?q=" . $query . "&p=0&t=" . $category_index . "\"><img src=\"static/images/" . $category . "_result.png\" alt=\"" . $category . " result\" />" . ucfirst($category) . "</a>";
} }
?> ?>
</div> </div>