diff --git a/includes/Parse.php b/includes/Parse.php index 343b23e0..184fb43f 100644 --- a/includes/Parse.php +++ b/includes/Parse.php @@ -886,10 +886,10 @@ private function defineScrollVariables( $scrollVariables, Parser $parser ) { $scrollVariables = (array)$scrollVariables; foreach ( $scrollVariables as $variable => $value ) { - Variables::setVar( [ '', '', $variable, $value ] ); + Variables::setVar( [ '', '', $variable, $value ?? '' ] ); if ( defined( 'ExtVariables::VERSION' ) ) { - ExtVariables::get( $parser )->setVarValue( $variable, $value ); + ExtVariables::get( $parser )->setVarValue( $variable, $value ?? '' ); } } }