From ab19a7728630f8a8ba47b77839a717b9dd7f6c88 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 11 Oct 2013 16:03:19 +0200 Subject: [PATCH] Fixed small issue --- .../files/lib/system/search/SearchKeywordManager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php index 39873ff755..7b83876f63 100644 --- a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php +++ b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php @@ -38,7 +38,7 @@ class SearchKeywordManager extends SingletonFactory { } else { $action = new SearchKeywordAction(array(), 'create', array('data' => array( - 'keyword' => $keyword, + 'keyword' => mb_substr($keyword, 0, 255), 'searches' => 1, 'lastSearchTime' => TIME_NOW ))); -- 2.20.1