r92698 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92697‎ | r92698 | r92699 >
Date:22:18, 20 July 2011
Author:werdna
Status:ok
Tags:
Comment:
Fix polarity in r92697
Modified paths:
  • /trunk/extensions/MoodBar/FeedbackItem.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/FeedbackItem.php
@@ -191,7 +191,7 @@
192192 */
193193 public function save() {
194194
195 - if ( ! $this->getProperty('id') ) {
 195+ if ( $this->getProperty('id') ) {
196196 throw new MWException( "This ".__CLASS__." is already in the database." );
197197 }
198198

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92697Use a proper ! instead of a loose comparison with nullwerdna22:10, 20 July 2011

Status & tagging log