Skip to content

Commit 13d8739

Browse files
committed
hardcode var to true
1 parent 4a6c46e commit 13d8739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widget/Twig/TwigPreprocessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public function preprocessEventDetail(Event $event, string $langcode, array $set
348348
$variables['language_switcher'][$langcodeItem] = '<a href="' . $url->__toString() . '">' . strtoupper($langcodeItem) . '</a>';
349349
}
350350

351-
$variables['show_share_links'] = $this->disableSocialSharing ? false : $settings['share_buttons'];
351+
$variables['show_share_links'] = true; //$this->disableSocialSharing ? false : $settings['share_buttons'];
352352
// Share links
353353
$shareUrl = Url::factory($this->socialHost . '/event/' . $event->getCdbid());
354354
$shareQuery = $shareUrl->getQuery();

0 commit comments

Comments
 (0)