Parser: extract $title, follow-up 3d560be428
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 30 Dec 2017 10:32:06 +0000 (02:32 -0800)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 30 Dec 2017 18:50:06 +0000 (18:50 +0000)
In the conversion away from extract(), the $title variable was missed. This
broke LabeledSectionTransclusion.

Change-Id: If4c140aedf16fc16a4ae2361f465798055748255

includes/parser/Parser.php

index 078de3c..e7e7aa0 100644 (file)
@@ -3115,6 +3115,9 @@ class Parser {
                                }
 
                                // Extract any forwarded flags
+                               if ( isset( $result['title'] ) ) {
+                                       $title = $result['title'];
+                               }
                                if ( isset( $result['found'] ) ) {
                                        $found = $result['found'];
                                }