r108841 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108840‎ | r108841 | r108842 >
Date:20:25, 13 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
fix fail causing the challenge filter to not work
Modified paths:
  • /trunk/extensions/Contest/specials/SpecialContest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/specials/SpecialContest.php
@@ -256,7 +256,7 @@
257257 }
258258
259259 if ( $req->getSessionData( 'contestant-challenge' ) ) {
260 - $challenge = ContestChallenge::s()->selectRow( 'id', array( 'title' => $req->getSessionData( 'contestant-' . $field ) ) );
 260+ $challenge = ContestChallenge::s()->selectRow( 'id', array( 'title' => $req->getSessionData( 'contestant-challenge' ) ) );
261261
262262 if ( $challenge !== false ) {
263263 $conds['contestant_challenge_id'] = $challenge->getField( 'id' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r108843MFT r108841reedy20:31, 13 January 2012

Status & tagging log