mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-09-24 02:38:44 +00:00
bug: fix null pointer
Authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
This commit is contained in:
parent
705bce9a81
commit
ae9ab0a8d1
|
@ -64,7 +64,7 @@ class SkinCitizen extends SkinMustache {
|
|||
$skinTheme->setSkinTheme( $options );
|
||||
|
||||
// Only load in content pages
|
||||
if ( $title->isContentPage() ) {
|
||||
if ( $title !== null && $title->isContentPage() ) {
|
||||
// Load Citizen collapsible sections modules if enabled
|
||||
if ( $this->getConfigValue( 'CitizenEnableCollapsibleSections' ) === true ) {
|
||||
$options['scripts'] = array_merge(
|
||||
|
|
Loading…
Reference in a new issue