Fixed small issue
authorMarcel Werk <burntime@woltlab.com>
Fri, 11 Oct 2013 14:03:19 +0000 (16:03 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 11 Oct 2013 14:03:19 +0000 (16:03 +0200)
wcfsetup/install/files/lib/system/search/SearchKeywordManager.class.php

index 39873ff7555606c1275b3595e0b3d4b9fe142016..7b83876f63b0e24a40d902d04ac33de38514267f 100644 (file)
@@ -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
                        )));