From: Leo Koppelkamm Date: Thu, 5 May 2011 09:12:55 +0000 (+0000) Subject: Fix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it X-Git-Tag: 1.31.0-rc.0~30393 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=384d4383a32c0c162da23c8fd0866fb1331f8e32;p=lhc%2Fweb%2Fwiklou.git Fix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it --- 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'];