summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/noticewrapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php
index 95cd72704..f8c0aa381 100644
--- a/lib/noticewrapper.php
+++ b/lib/noticewrapper.php
@@ -19,7 +19,9 @@
if (!defined('LACONICA')) { exit(1); }
-class NoticeWrapper {
+require_once(INSTALLDIR.'/classes/Notice.php');
+
+class NoticeWrapper extends Notice {
public $id; // int(4) primary_key not_null
public $profile_id; // int(4) not_null