Merge "Harden Definitions::insertCommunityPortal() method"

This commit is contained in:
jenkins-bot 2019-05-04 01:48:20 +00:00 committed by Gerrit Code Review
commit c3ebb6824a

View file

@ -309,7 +309,7 @@ final class Definitions {
return;
}
$title = Title::newFromText( $titleName );
if ( !$title->exists() ) {
if ( $title === null || !$title->exists() ) {
return;
}