Created
August 2, 2013 19:55
-
-
Save PabloVallejo/6142923 to your computer and use it in GitHub Desktop.
comment controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/application/controllers/comment.php b/application/controllers/comment.php | |
index 099c043..70a8603 100644 | |
--- a/application/controllers/comment.php | |
+++ b/application/controllers/comment.php | |
@@ -45,6 +45,7 @@ class Comment_Controller { | |
// 'comment_content' => wp_generate_password( 50, false, false ) | |
'comment_content' => $req->content | |
, 'comment_post_ID' => $req->post_id | |
+ , 'comment_parent' => $req->parent_id | |
); | |
$comment = new Comment_Model( $args ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment