From: Marcel Werk Date: Fri, 11 Oct 2013 14:03:19 +0000 (+0200) Subject: Fixed small issue X-Git-Tag: 2.0.0_Beta_11~41 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab19a7728630f8a8ba47b77839a717b9dd7f6c88;p=GitHub%2FWoltLab%2FWCF.git Fixed small issue --- 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 )));