From: Mikael Nordfeldth Date: Sat, 10 Oct 2015 19:22:07 +0000 (+0200) Subject: If that $options key wasn't set, this won't change anything anyway X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45bc1926254a5edd78edefcdef2f6d5002ec6fbd;p=quix0rs-gnu-social.git If that $options key wasn't set, this won't change anything anyway --- diff --git a/plugins/Bookmark/classes/Bookmark.php b/plugins/Bookmark/classes/Bookmark.php index ade6b4fa7b..582eee69f4 100644 --- a/plugins/Bookmark/classes/Bookmark.php +++ b/plugins/Bookmark/classes/Bookmark.php @@ -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,