Index: trunk/extensions/SemanticGlossary/SemanticGlossaryBackend.php |
— | — | @@ -77,8 +77,9 @@ |
78 | 78 | |
79 | 79 | if ( $ml = $this->getMessageLog() ) { |
80 | 80 | $ml->addMessage( |
81 | | - wfMsg( 'semanticglossary-termdefinedtwice', array($subject->getTitle()->getPrefixedText()) ), |
82 | | - SemanticGlossaryMessageLog::SG_WARNING ); |
| 81 | + wfMsg( 'semanticglossary-termdefinedtwice', |
| 82 | + array($resultline[0]->getResultSubject()->getTitle()->getPrefixedText()) ), |
| 83 | + LingoMessageLog::MESSAGE_WARNING ); |
83 | 84 | } |
84 | 85 | |
85 | 86 | continue; |