mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Merge pull request #1822 from BOBODDO/develop
컨텐츠 위젯 및 comment 모듈 버그 수정
This commit is contained in:
commit
12e8cc4510
2 changed files with 2 additions and 2 deletions
|
|
@ -967,7 +967,7 @@ class commentController extends comment
|
|||
}
|
||||
|
||||
// call a trigger (after)
|
||||
ModuleHandler::triggerCall('comment.deleteComment', 'after', $obj);
|
||||
ModuleHandler::triggerCall('comment.deleteComment', 'after', $comment);
|
||||
|
||||
// update the number of comments
|
||||
$comment_count = CommentModel::getCommentCount($obj->document_srl);
|
||||
|
|
|
|||
|
|
@ -909,7 +909,7 @@ class contentItem extends BaseObject
|
|||
|
||||
$attrs = array();
|
||||
if($this->get('title_bold') == 'Y') $attrs[] = 'font-weight:bold';
|
||||
if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#'.$this->get('title_color');
|
||||
if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#' . ltrim($this->get('title_color'), '#');
|
||||
|
||||
if(count($attrs)) $title = sprintf("<span style=\"%s\">%s</span>", implode(';', $attrs), $title);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue