Fixing a Fatal error: Using $this when not in object context in F:\xampp\htdocs\wiki2...
authorRaimond Spekking <raymond@users.mediawiki.org>
Fri, 31 Oct 2008 10:43:49 +0000 (10:43 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Fri, 31 Oct 2008 10:43:49 +0000 (10:43 +0000)
includes/Linker.php

index c15e328..452bf06 100644 (file)
@@ -1756,7 +1756,7 @@ class Linker {
                }
 
                if ( $options == 'withaccess' ) {
-                       $accesskey = $this->accesskey( $name );
+                       $accesskey = self::accesskey( $name );
                        if( $accesskey !== false ) {
                                if ( $tooltip === false || $tooltip === '' ) {
                                        $tooltip = "[$accesskey]";