diff options
Diffstat (limited to 'modules/comment/controllers/comments.php')
| -rw-r--r-- | modules/comment/controllers/comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php index 293c456d..cb2ebb01 100644 --- a/modules/comment/controllers/comments.php +++ b/modules/comment/controllers/comments.php @@ -69,7 +69,7 @@ class Comments_Controller extends REST_Controller { print json_encode( array("result" => "success", - "resource" => $comment->visible ? url::site("comments/{$comment->id}") : NULL, + "resource" => $comment->published ? url::site("comments/{$comment->id}") : NULL, "form" => comment::get_add_form($item)->__toString())); } else { print json_encode( |
