Followup to r57868: Fix two strict standards warnings
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sun, 18 Oct 2009 20:06:22 +0000 (20:06 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sun, 18 Oct 2009 20:06:22 +0000 (20:06 +0000)
includes/Licenses.php
includes/specials/SpecialUpload.php

index 4b81bfa..b55dd1f 100644 (file)
@@ -86,7 +86,7 @@ class Licenses extends HTMLFormField {
                $position[] = $item;
        }
 
-       protected function makeHtml( &$tagset, $depth = 0 ) {
+       protected function makeHtml( $tagset, $depth = 0 ) {
                foreach ( $tagset as $key => $val )
                        if ( is_array( $val ) ) {
                                $this->html .= $this->outputOption(
index 713a6ff..acd6797 100644 (file)
@@ -103,7 +103,7 @@ class SpecialUpload extends SpecialPage {
        /**
         * Special page entry point
         */
-       public function execute() {
+       public function execute( $par ) {
                global $wgUser, $wgOut, $wgRequest;
                
                $this->setHeaders();