Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/51689
Change subject: Bug 45615 - Collection: Call to a member function getPrefixedText() on a non-object ...................................................................... Bug 45615 - Collection: Call to a member function getPrefixedText() on a non-object Change-Id: Icb12eccf64ea8af778f2ed1662574999ccdd7e15 --- M Collection.body.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection refs/changes/89/51689/1 diff --git a/Collection.body.php b/Collection.body.php index db6b037..83199d4 100644 --- a/Collection.body.php +++ b/Collection.body.php @@ -662,7 +662,7 @@ * @return bool */ static function removeArticle( $title, $oldid = 0 ) { - if ( !CollectionSession::hasSession() ) { + if ( !CollectionSession::hasSession() || !$title ) { return false; } $collection = CollectionSession::getCollection(); -- To view, visit https://gerrit.wikimedia.org/r/51689 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb12eccf64ea8af778f2ed1662574999ccdd7e15 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Collection Gerrit-Branch: master Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits