Yaron Koren has submitted this change and it was merged.

Change subject: Another fix for formHTML() -> SFFormField refactor
......................................................................


Another fix for formHTML() -> SFFormField refactor

Change-Id: I7a9dfd9d862b5351d6874733e1d9f40250b0b75e
---
M includes/SF_FormField.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/SF_FormField.php b/includes/SF_FormField.php
index 659b725..91e27b4 100644
--- a/includes/SF_FormField.php
+++ b/includes/SF_FormField.php
@@ -137,7 +137,7 @@
        }
 
        static function newFromFormFieldTag( $tag_components, $template_name, 
$all_fields, $form_is_disabled, $allow_multiple, $strict_parsing ) {
-               global $wgParser;
+               global $wgParser, $wgUser;
 
                $field_name = trim( $tag_components[1] );
                // See if this field matches one of the fields defined for this

-- 
To view, visit https://gerrit.wikimedia.org/r/263213
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7a9dfd9d862b5351d6874733e1d9f40250b0b75e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to