From 0db1beaea6b849790aa0f1f4ecbf6439ce4f1104 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 22 Jul 2021 21:17:57 +0200 Subject: Catch possible PDOException for search request Catch possible PDOException on search requests with queries like "*" and pass the exception message to the template for displaying. --- theme/admin/html/page/search.php | 10 ++++++++++ theme/admin/html/post/search.php | 10 ++++++++++ 2 files changed, 20 insertions(+) (limited to 'theme') diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php index 906502f..7250056 100644 --- a/theme/admin/html/page/search.php +++ b/theme/admin/html/page/search.php @@ -2,6 +2,16 @@

text('title_page_search')?>

text('search_page_desc')?>

+ +
+ +
+ +