Clean up.

This commit is contained in:
Lars Jung 2019-04-16 14:17:41 +02:00
parent 8966a517c6
commit 5ffc5cf6fd
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,3 @@
/* only here as a reference, these values are the hardcoded defaults */
{ {
"lang": "Bahasa Indonesia", "lang": "Bahasa Indonesia",

View file

@ -138,6 +138,7 @@ class Archive {
if (!is_array($hrefs)) { if (!is_array($hrefs)) {
$hrefs = array($hrefs); $hrefs = array($hrefs);
} }
foreach ($hrefs as $href) { foreach ($hrefs as $href) {
if (trim($href) === '') { if (trim($href) === '') {
continue; continue;