diff options
Diffstat (limited to 'classes/NoticeWrapper.php')
-rw-r--r-- | classes/NoticeWrapper.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/NoticeWrapper.php b/classes/NoticeWrapper.php index 19ae37c1b..e1b27c2f7 100644 --- a/classes/NoticeWrapper.php +++ b/classes/NoticeWrapper.php @@ -38,11 +38,13 @@ class NoticeWrapper extends Notice { var $notices = null; var $i = -1; - function __construct($arr) { + function __construct($arr) + { $this->notices = $arr; } - function fetch() { + function fetch() + { static $fields = array('id', 'profile_id', 'uri', 'content', 'rendered', 'url', 'created', 'modified', 'reply_to', 'is_local', 'source'); $this->i++; |