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/post/search.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'theme/admin/html/post/search.php') diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php index 1afc5e7..10aa43d 100644 --- a/theme/admin/html/post/search.php +++ b/theme/admin/html/post/search.php @@ -2,6 +2,16 @@

text('title_post_search')?>

text('search_post_desc')?>

+ +
+ +
+ +