Fo0bar has submitted this change and it was merged.

Change subject: Global $wgGoogleSiteSearchCharset in GoogleSiteSearch()
......................................................................


Global $wgGoogleSiteSearchCharset in GoogleSiteSearch()

$wgGoogleSiteSearchCharset was not being used due to not being pulled in
as a master, resulting in a PHP Undefined variable notice.

Change-Id: I3baf37044a45390ac7f73e8540af0a570f06bad0
---
M GoogleSiteSearch.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Fo0bar: Verified; Looks good to me, approved



diff --git a/GoogleSiteSearch.php b/GoogleSiteSearch.php
index 4cd5e99..416a691 100644
--- a/GoogleSiteSearch.php
+++ b/GoogleSiteSearch.php
@@ -65,6 +65,7 @@
 function GoogleSiteSearch( $t, $out, $term ) {
        global $wgGoogleSiteSearchCSEID;
        global $wgGoogleSiteSearchOnly;
+       global $wgGoogleSiteSearchCharset;
 
        # Return immediately if the CSE ID is not configured
        if ( !$wgGoogleSiteSearchCSEID ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3baf37044a45390ac7f73e8540af0a570f06bad0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GoogleSiteSearch
Gerrit-Branch: master
Gerrit-Owner: Fo0bar <[email protected]>
Gerrit-Reviewer: Fo0bar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to