From bf75119b3cb6b7bd31e006e544b86a8736363990 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 26 Dec 2010 21:25:26 -0800 Subject: [PATCH] Fix bugs in BookmarkPlugin --- plugins/Bookmark/BookmarkPlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 53121276b1..f18c60c586 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -345,7 +345,7 @@ class BookmarkPlugin extends Plugin $attrs['title'] = $target->title; } - $object->extra[] = array('link', $attrs); + $object->extra[] = array('link', $attrs, null); // Attributes of the thumbnail, if any @@ -363,7 +363,7 @@ class BookmarkPlugin extends Plugin $tattrs['media:height'] = $thumbnail->height; } - $object->extra[] = array('link', $attrs); + $object->extra[] = array('link', $attrs, null); } return false; @@ -487,7 +487,7 @@ class BookmarkPlugin extends Plugin $options = array('uri' => $bookmark->id, 'url' => $bookmark->link, - 'created' => common_sql_time($activity->time), + 'created' => common_sql_date($activity->time), 'is_local' => Notice::REMOTE_OMB, 'source' => 'ostatus'); -- 2.39.5