If that $options key wasn't set, this won't change anything anyway

This commit is contained in:
Mikael Nordfeldth 2015-10-10 21:22:07 +02:00
parent a793d211d2
commit 45bc192625

View File

@ -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,