Skip to content

Commit

Permalink
add additional isset check for mTemplatePath
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Apr 15, 2022
1 parent c4bff23 commit 3f06fdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/LST.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public static function open( $parser, $part1 ) {

return false;
} else {
if ( !isset( $parser->mTemplatePath ) ) {
$parser->mTemplatePath = [];
}

$parser->mTemplatePath[$part1] = 1;

return true;
Expand Down

0 comments on commit 3f06fdf

Please sign in to comment.