From: Marcin Cieślak Date: Mon, 14 Mar 2011 17:59:31 +0000 (+0000) Subject: Followup to r81507: Call to undefined method StandardTemplate::showEmailUser() X-Git-Tag: 1.31.0-rc.0~31415 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=3fbfafb1a0d379d96d89d0011f830cf925698dfe;p=lhc%2Fweb%2Fwiklou.git Followup to r81507: Call to undefined method StandardTemplate::showEmailUser() Fixes: PHP Fatal error: Call to undefined method StandardTemplate::showEmailUser() in skins/Standard.php on line 262 --- diff --git a/skins/Standard.php b/skins/Standard.php index a8f304f5a5..908d462106 100644 --- a/skins/Standard.php +++ b/skins/Standard.php @@ -259,7 +259,7 @@ class StandardTemplate extends LegacyTemplate { if( $id || $ip ){ $s .= $sep . $this->userContribsLink(); } - if( $this->showEmailUser( $id ) ) { + if( $this->getSkin()->showEmailUser( $id ) ) { $s .= $sep . $this->emailUserLink(); } }