From 335b921b2bdd4f4cc13a32deb8fe7164b0a9a909 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 24 Jun 2011 20:25:16 +0000 Subject: [PATCH] * Removed break in first loop of generateTableHTML(), which caused: 'Notice: Undefined index: type in C:\wamp\www\MW_trunk\includes\parser\Parser.php * Made some code simplifications --- includes/parser/Parser.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 527da1d215..8d86436102 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1019,7 +1019,7 @@ class Parser { * * @private */ - function generateTableHTML ( &$table ) { + function generateTableHTML( &$table ) { $return = ""; $return .= str_repeat( '
' , $table['indent'] ); $return .= ''; } -- 2.20.1