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",

View File

@ -135,9 +135,10 @@ class Archive {
}
private function add_hrefs($hrefs) {
if(!is_array($hrefs)){
$hrefs=array($hrefs);
if (!is_array($hrefs)) {
$hrefs = array($hrefs);
}
foreach ($hrefs as $href) {
if (trim($href) === '') {
continue;