mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
escape되는 문자가 많은 댓글을 휴지통으로 이동시킬 수 없는 문제 수정
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1
This commit is contained in:
parent
ff3f1f4c38
commit
2b41d73c96
1 changed files with 1 additions and 1 deletions
|
|
@ -1287,7 +1287,7 @@ class CommentController extends Comment
|
|||
require_once(RX_BASEDIR.'modules/trash/model/TrashVO.php');
|
||||
$oTrashVO = new TrashVO();
|
||||
$oTrashVO->setTrashSrl(getNextSequence());
|
||||
$oTrashVO->setTitle($oComment->getContentText(200));
|
||||
$oTrashVO->setTitle(mb_substr($oComment->getContentText(100), 0, 250, 'UTF-8'));
|
||||
$oTrashVO->setOriginModule('comment');
|
||||
$oTrashVO->setSerializedObject(serialize($oComment->variables));
|
||||
$oTrashVO->setDescription($obj->description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue