mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 06:46:36 +02:00
Clean up.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/* only here as a reference, these values are the hardcoded defaults */
|
||||
{
|
||||
"lang": "Bahasa Indonesia",
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user