Index: trunk/extensions/MoodBar/FeedbackItem.php |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | */ |
193 | 193 | public function save() { |
194 | 194 | |
195 | | - if ( ! $this->getProperty('id') ) { |
| 195 | + if ( $this->getProperty('id') ) { |
196 | 196 | throw new MWException( "This ".__CLASS__." is already in the database." ); |
197 | 197 | } |
198 | 198 | |