Clean up.
This commit is contained in:
parent
8966a517c6
commit
5ffc5cf6fd
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue