fix(furaffinity): type error (#4554)

fixes array_filter(): Argument #1 ($array) must be of type array, null given

fix #4553
This commit is contained in:
Dag 2025-05-09 09:39:35 +02:00 committed by GitHub
parent d36b335725
commit 8f21a030a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -920,7 +920,9 @@ class FurAffinityBridge extends BridgeAbstract
break; break;
} }
$item = []; $item = [
'categories' => [],
];
$submissionURL = $figure->find('b u a', 0)->href; $submissionURL = $figure->find('b u a', 0)->href;
$imgURL = $figure->find('b u a img', 0)->src; $imgURL = $figure->find('b u a img', 0)->src;