From 384d4383a32c0c162da23c8fd0866fb1331f8e32 Mon Sep 17 00:00:00 2001 From: Leo Koppelkamm Date: Thu, 5 May 2011 09:12:55 +0000 Subject: [PATCH] Fix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 7204e0eddd..f1391686bd 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1085,7 +1085,7 @@ class Parser { } $return .= "\n"; - if ( ( !isset( $table[$i + 1] ) && !$simple ) || ( isset( $table[$i + 1] ) && ( $table[$i]['type'] != $table[$i + 1]['type'] ) ) ) { + if ( ( !isset( $table[$i + 1] ) && !$simple ) || ( isset( $table[$i + 1] ) && isset( $table[$i + 1]['type'] ) && $table[$i]['type'] != $table[$i + 1]['type'] ) ) { $return .= ''; } $lastSection = $table[$i]['type']; -- 2.20.1