Index: trunk/extensions/Contest/specials/SpecialContest.php |
— | — | @@ -256,7 +256,7 @@ |
257 | 257 | } |
258 | 258 | |
259 | 259 | 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' ) ) ); |
261 | 261 | |
262 | 262 | if ( $challenge !== false ) { |
263 | 263 | $conds['contestant_challenge_id'] = $challenge->getField( 'id' ); |