Commit c321de54 authored by Marijn van Wezel's avatar Marijn van Wezel
Browse files

Make sure Title is not NULL

parent 3e9fba2b
Pipeline #2697 passed with stages
in 29 seconds
{
"name": "WSSlots",
"version": "1.4.1",
"version": "1.4.2",
"namemsg": "wsslots-extensionname",
"url": "https://wikibase-solutions.com",
"type": "other",
......@@ -70,4 +70,4 @@
"editslot": "WSSlots\\ApiEditSlot"
},
"manifest_version": 2
}
\ No newline at end of file
}
......@@ -111,7 +111,7 @@ class ParserFirstCallInitHookHandler implements ParserFirstCallInitHook {
$title = \Title::newFromText( $page_name );
if ( !$title->exists() ) {
if ( $title === null || !$title->exists() ) {
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment