r77577 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77576‎ | r77577 | r77578 >
Date:14:15, 2 December 2010
Author:catrope
Status:resolved (Comments)
Tags:
Comment:
ContactPage: (bug 26201) Preservation of "CC me" checkbox state broken. Patch by Christoph Mitasch
Modified paths:
  • /trunk/extensions/ContactPage/SpecialContact.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContactPage/SpecialContact.php
@@ -290,7 +290,7 @@
291291 $form .= '<tr>
292292 <td></td>
293293 <td class="mw-input">' .
294 - Xml::checkLabel( wfMsg( 'emailccme' ), 'wpCCMe', 'wpCCMe', $wgUser->getBoolOption( 'ccmeonemails' ) ) .
 294+ Xml::checkLabel( wfMsg( 'emailccme' ), 'wpCCMe', 'wpCCMe', $this->cc_me ) .
295295 '<br />' . $this->getCaptcha() .
296296 '</td>
297297 </tr>

Follow-up revisions

RevisionCommit summaryAuthorDate
r77986Followup r77577: per CR, load "CC me" checkbox state from user preference on ...catrope15:57, 7 December 2010

Comments

#Comment by IAlex (talk | contribs)   15:49, 4 December 2010

cc_me should be set according to user preference the first time the page is requested.

Status & tagging log