don't bother listing upload dirs without files
This commit is contained in:
parent
cf698d6712
commit
f735936a7d
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ class BulkAdd implements Extension {
|
|||
}
|
||||
closedir($dir);
|
||||
|
||||
$this->theme->add_status("Adding $subdir", $list);
|
||||
if(strlen($list) > 0) {
|
||||
$this->theme->add_status("Adding $subdir", $list);
|
||||
}
|
||||
}
|
||||
}
|
||||
add_event_listener(new BulkAdd());
|
||||
|
|
Reference in a new issue