diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/helpers/comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index 22f9e740..e92c59a0 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -39,7 +39,7 @@ class comment_Core { * @param string $url author's url * @return Comment_Model */ - static function create($author, $email, $text, $item_id, $url) { + static function create($author, $email, $text, $item_id, $url=null) { $comment = ORM::factory("comment"); $comment->author = $author; $comment->email = $email; |