diff --git a/lib/Service/OpmlService.php b/lib/Service/OpmlService.php index b9666680a..ce9abe711 100644 --- a/lib/Service/OpmlService.php +++ b/lib/Service/OpmlService.php @@ -100,7 +100,7 @@ public function import(string $userId, string $data): bool } } - if ($error) { + if ($error > 0) { throw new ServiceValidationException('Failed to import all feeds. Please check the server log!'); }