From c51e0776b79b8bbefd75b7331c0b97d8025e396d Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Sat, 21 Dec 2024 13:38:22 +0100 Subject: [PATCH] Update lib/Service/OpmlService.php Co-authored-by: Sean Molenaar Signed-off-by: Wolfgang --- lib/Service/OpmlService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!'); }