If that $options key wasn't set, this won't change anything anyway
This commit is contained in:
parent
a793d211d2
commit
45bc192625
@ -276,9 +276,7 @@ class Bookmark extends Managed_DataObject
|
||||
'object_type' => ActivityObject::BOOKMARK),
|
||||
$options);
|
||||
|
||||
if (!array_key_exists('uri', $options)) {
|
||||
$options['uri'] = $nb->uri;
|
||||
}
|
||||
$options['uri'] = $nb->uri;
|
||||
|
||||
try {
|
||||
$saved = Notice::saveNew($profile->id,
|
||||
|
Loading…
Reference in New Issue
Block a user