summaryrefslogtreecommitdiff
path: root/modules/comment/models/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/models/comment.php')
-rw-r--r--modules/comment/models/comment.php4
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);
+ }
}