MediaWiki/Parser44

From Nick Jenkins
< MediaWiki
Revision as of 06:27, 23 October 2007 by Nickj (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
--------------------------------------------
<br />
<b>Notice</b>:  Undefined variable: searchform2 in <b>/var/www/hosts/mediawiki/phase3/extensions/inputbox.php<
/b> on line <b>173</b><br />
--------------------------------------------

Fix is probably to add a declaration somewhere in the first half of getSearchForm(), e.g.
--------------------------------------------
                // Determine namespace checkboxes
                $namespaces = $wgContLang->getNamespaces();
                $namespacesarray = explode(",",$this->namespaces);
+
+               $searchform2 = "";

                // Test if namespaces requested by user really exist
                if ($this->namespaces) {
--------------------------------------------