From 2b6d6b992589884aa25410c2af19e165fc38de15 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Fri, 15 May 2020 16:06:01 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20#1290=20=ED=95=A8=EC=88=98=EB=AA=85?= =?UTF-8?q?=EC=9D=84=20=EC=9D=BC=EA=B4=84=EC=84=B1=EC=9E=88=EA=B2=8C=20?= =?UTF-8?q?=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/board/skins/xedition/_comment.html | 8 ++++---- modules/board/skins/xedition/_read.html | 8 ++++---- modules/comment/comment.item.php | 2 +- modules/document/document.item.php | 2 +- modules/document/document.model.php | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/board/skins/xedition/_comment.html b/modules/board/skins/xedition/_comment.html index a18e5e085..e281ff70c 100644 --- a/modules/board/skins/xedition/_comment.html +++ b/modules/board/skins/xedition/_comment.html @@ -39,10 +39,10 @@

{$lang->cmd_comment_vote_user} - {$lang->cmd_vote}{$comment->get('voted_count')} - {$lang->cmd_vote}{$comment->get('voted_count')} - {$lang->cmd_vote_down}{$comment->get('blamed_count')} - {$lang->cmd_vote_down}{$comment->get('blamed_count')} + {$lang->cmd_vote}{$comment->get('voted_count')} + {$lang->cmd_vote}{$comment->get('voted_count')} + {$lang->cmd_vote_down}{$comment->get('blamed_count')} + {$lang->cmd_vote_down}{$comment->get('blamed_count')} {$lang->cmd_reply} {$lang->cmd_modify} {$lang->cmd_delete} diff --git a/modules/board/skins/xedition/_read.html b/modules/board/skins/xedition/_read.html index 73c472ead..837bc3c45 100644 --- a/modules/board/skins/xedition/_read.html +++ b/modules/board/skins/xedition/_read.html @@ -84,12 +84,12 @@

diff --git a/modules/comment/comment.item.php b/modules/comment/comment.item.php index 080c02d26..aeab80697 100644 --- a/modules/comment/comment.item.php +++ b/modules/comment/comment.item.php @@ -315,7 +315,7 @@ class commentItem extends BaseObject return escape($this->get('nick_name'), false); } - function getVote() + function getMyVote() { if(!$this->comment_srl) return false; if(isset($_SESSION['voted_comment'][$this->comment_srl])) diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 6f4998cb5..09b74f4df 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -476,7 +476,7 @@ class documentItem extends BaseObject return $cut_size ? cut_str($this->get('title'), $cut_size, $tail) : $this->get('title'); } - function getVoted() + function getMyVote() { if(!$this->isExists()) { diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 3b58ccb02..7380c0dd0 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -449,7 +449,7 @@ class documentModel extends document $oModuleModel = getModel('module'); $document_config = $oModuleModel->getModulePartConfig('document',$module_srl); - $oDocumentisVoted = $oDocument->getVoted(); + $oDocumentisVoted = $oDocument->getMyVote(); if($document_config->use_vote_up!='N' && $member_srl!=$this->user->member_srl) { if($oDocumentisVoted === false || $oDocumentisVoted < 0)