forked from GNUsocial/gnu-social
save the object type when saving a new bookmark notice
This commit is contained in:
parent
6862f765f6
commit
f5782e9e56
@ -307,7 +307,8 @@ class Bookmark extends Memcached_DataObject
|
|||||||
$options = array_merge(array('urls' => array($url),
|
$options = array_merge(array('urls' => array($url),
|
||||||
'rendered' => $rendered,
|
'rendered' => $rendered,
|
||||||
'tags' => $tags,
|
'tags' => $tags,
|
||||||
'replies' => $replies),
|
'replies' => $replies,
|
||||||
|
'object_type' => ActivityObject::BOOKMARK),
|
||||||
$options);
|
$options);
|
||||||
|
|
||||||
if (!array_key_exists('uri', $options)) {
|
if (!array_key_exists('uri', $options)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user