Strict Standards with PHP5
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 12 Jul 2006 18:38:25 +0000 (18:38 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 12 Jul 2006 18:38:25 +0000 (18:38 +0000)
includes/ImageGallery.php

index 0935ac3..ae2e4a7 100644 (file)
@@ -55,7 +55,7 @@ class ImageGallery
         *
         * @param $skin Skin object
         */
-       function useSkin( &$skin ) {
+       function useSkin( $skin ) {
                $this->mSkin =& $skin;
        }
        
@@ -135,7 +135,7 @@ class ImageGallery
        function toHTML() {
                global $wgLang, $wgIgnoreImageErrors, $wgGenerateThumbnailOnParse;
 
-               $sk =& $this->getSkin();
+               $sk = $this->getSkin();
 
                $s = '<table class="gallery" cellspacing="0" cellpadding="0">';
                if( $this->mCaption )