don't bother listing upload dirs without files

This commit is contained in:
Shish 2008-12-15 14:37:15 -08:00
parent 80a03f8daa
commit 3582604c4e

View File

@ -82,7 +82,9 @@ class BulkAdd extends Extension {
} }
closedir($dir); 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()); add_event_listener(new BulkAdd());