1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-09 07:16:40 +02:00

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

@@ -135,9 +135,10 @@ class Archive {
} }
private function add_hrefs($hrefs) { private function add_hrefs($hrefs) {
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;