From: Fabii547 Date: Sun, 6 Nov 2016 11:01:21 +0000 (+0100) Subject: Set php limit to database field length X-Git-Tag: 3.0.0_Beta_5~66^2~16^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8069a3336cfd5fa6077cdf68810892112fea376;p=GitHub%2FWoltLab%2FWCF.git Set php limit to database field length --- diff --git a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php index 6b19a32b9b..127fe0ef80 100644 --- a/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php +++ b/wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php @@ -35,7 +35,7 @@ class SearchKeywordManager extends SingletonFactory { } else { $action = new SearchKeywordAction([], 'create', ['data' => [ - 'keyword' => mb_substr($keyword, 0, 255), + 'keyword' => mb_substr($keyword, 0, 191), 'searches' => 1, 'lastSearchTime' => TIME_NOW ]]);