From 46ec1e8d3b9c3a946a95083de42a8ff79b89d122 Mon Sep 17 00:00:00 2001 From: Soonjae Kim Date: Tue, 13 May 2014 13:52:41 +0900 Subject: [PATCH] Update comment.model.php --- modules/comment/comment.model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index 9d5439a13..11195be03 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -126,7 +126,7 @@ class commentModel extends comment { $args = new stdClass(); $args->comment_srl = $comment_srl; - $output = executeQuery('comment.getChildCommentCount', $args); + $output = executeQuery('comment.getChildCommentCount', $args, NULL, 'master'); return (int) $output->data->count; } @@ -139,7 +139,7 @@ class commentModel extends comment { $args = new stdClass(); $args->comment_srl = $comment_srl; - $output = executeQueryArray('comment.getChildComments', $args); + $output = executeQueryArray('comment.getChildComments', $args, NULL, 'master'); return $output->data; } @@ -248,7 +248,7 @@ class commentModel extends comment $args->status = 1; } - $output = executeQuery('comment.getCommentCount', $args); + $output = executeQuery('comment.getCommentCount', $args, NULL, 'master'); $total_count = $output->data->count; return (int) $total_count;