From b912a037ff3c2780957f72e4b343c6f940a3ab3c Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 19 Apr 2026 14:27:04 -0400 Subject: [PATCH] fix(database): correct mismatched parentheses in detect_fixed_layout_epub The string_to_array call in detect_fixed_layout_epub() had an extra closing parenthesis after the ' 50 Fixed to: IF array_length(string_to_array(opf_content, ' 50 --- database/schema/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/schema/schema.sql b/database/schema/schema.sql index b7defda..e0c445b 100644 --- a/database/schema/schema.sql +++ b/database/schema/schema.sql @@ -755,7 +755,7 @@ BEGIN -- Check for image-heavy content (count tags) -- Threshold of 50 images suggests manga/comic vs novel - IF array_length(string_to_array(opf_content, ' 50 THEN + IF array_length(string_to_array(opf_content, ' 50 THEN RETURN TRUE; END IF;