mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
긴 댓글은 휴지통에 들어가지 않는 문제 수정
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1 불필요 코드 제거
This commit is contained in:
parent
86c33859db
commit
c5138ab477
3 changed files with 13 additions and 45 deletions
|
|
@ -301,7 +301,7 @@ class commentAdminController extends comment
|
|||
{
|
||||
$oTrashVO = new TrashVO();
|
||||
$oTrashVO->setTrashSrl(getNextSequence());
|
||||
$oTrashVO->setTitle(trim(strip_tags($oComment->variables['content'])));
|
||||
$oTrashVO->setTitle($oComment->getContentText(200));
|
||||
$oTrashVO->setOriginModule('comment');
|
||||
$oTrashVO->setSerializedObject(serialize($oComment->variables));
|
||||
$oTrashVO->setDescription($message_content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue