Improve robustness when moving / merging threads

- previously this would choke on threads where the image file is
missing
This commit is contained in:
towards-a-new-leftypol 2021-01-31 01:20:45 +00:00
parent ddd2a4843b
commit 02119c5c58
2 changed files with 15 additions and 9 deletions

View file

@ -50,7 +50,7 @@
elseif ($action == 'rebuild') {
print_err("catalog_build calling Catalog.build 2");
$b->build($settings, $board);
if($settings['has_overboard']) {
if(isset($settings['has_overboard']) && $settings['has_overboard']) {
$b->buildOverboardCatalog($settings, $boards);
}
}