summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php')
-rw-r--r--www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php b/www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php
index c828e5a4..0ac5441b 100644
--- a/www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php
+++ b/www/wiki/extensions/SemanticResultFormats/formats/filtered/src/View/CalendarView.php
@@ -75,7 +75,7 @@ class CalendarView extends View {
// found specified column for title
if ( $datavalue !== false ) {
if ( $datavalue instanceof \SMWWikiPageValue ) {
- $data['url'] = $datavalue->getTitle()->getLocalURL();
+ $data['url'] = $datavalue->getDataItem()->getTitle()->getLocalURL();
}
$data['title'] = $datavalue->getShortHTMLText();
}