diff options
Diffstat (limited to 'modules/comment/models')
-rw-r--r-- | modules/comment/models/comment.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index 323356b4..cd7a5d07 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -23,4 +23,8 @@ class Comment_Model extends ORM { "email" => "valid_email", "url" => "valid_url", "text" => "required"); + + function item() { + return ORM::factory("item", $this->item_id); + } } |