Index: trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php |
— | — | @@ -504,7 +504,7 @@ |
505 | 505 | $ed = new SMWExpData(new SMWExpLiteral(SiteStats::admins(), NULL, 'http://www.w3.org/2001/XMLSchema#int')); |
506 | 506 | $data->addPropertyObjectValue(SMWExporter::getSpecialElement('swivt','adminCount'), $ed); |
507 | 507 | |
508 | | - $mainpage = Title::newMainPage()); |
| 508 | + $mainpage = Title::newMainPage(); |
509 | 509 | if ($mainpage !== NULL) { |
510 | 510 | $ed = new SMWExpData(new SMWExpResource($mainpage->getFullURL())); |
511 | 511 | $data->addPropertyObjectValue(SMWExporter::getSpecialElement('swivt','mainPage'), $ed); |