Index: trunk/extensions/Translate/ffs/Gettext.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | $label = $this->group->getLabel(); |
97 | 97 | $languageName = TranslateUtils::getLanguageName( $code ); |
98 | 98 | |
99 | | - $headers = $this->owndata['HEADERS']; |
| 99 | + $headers = isset( $this->owndata['HEADERS'] ) ? $this->owndata['HEADERS'] : array(); |
100 | 100 | $headers['Project-Id-Version'] = $label; |
101 | 101 | // TODO: make this customisable or something |
102 | 102 | // $headers['Report-Msgid-Bugs-To'] = $wgServer; |