Skip to content

Commit

Permalink
Include path to layouts folder when calling social layout
Browse files Browse the repository at this point in the history
  • Loading branch information
htmgarcia committed May 15, 2019
1 parent ebe534d commit 8e3a174
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/site/layouts/download_button.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ class="osdownloads-field-agree"/>
</form>
<?php
if ($displayData->isPro) :
echo JLayoutHelper::render('social_download', $displayData);
echo JLayoutHelper::render(
'social_download',
$displayData,
JPATH_SITE . '/components/com_osdownloads/layouts'
);
endif;
?>

Expand Down

0 comments on commit 8e3a174

Please sign in to comment.