r100295 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100294‎ | r100295 | r100296 >
Date:23:39, 19 October 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Contest/specials/SpecialEditContest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/specials/SpecialEditContest.php
@@ -282,7 +282,7 @@
283283 $fields['id'] = $contest === false ? null : $contest->getField( 'id' );
284284 }
285285
286 - $contest = new Contest( $fields, true );
 286+ $contest = new Contest( $fields, is_null( $fields['id'] ) );
287287
288288 $contest->setChallenges( $this->getSubmittedChallenges() );
289289 $success = $contest->writeAllToDB();

Follow-up revisions

RevisionCommit summaryAuthorDate
r1003131.18wmf1 MFT r100295, r100302, r100307, r100308, r100309, r100311reedy01:03, 20 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100293Hack out default for submission count...reedy23:31, 19 October 2011

Status & tagging log