Skip to content

Commit

Permalink
File download link in tagbuilder fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bloatware committed Dec 12, 2018
1 parent 601814b commit a43f9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textpattern/include/txp_tag.php
Expand Up @@ -1976,7 +1976,7 @@ function tag_file_download_link()
$urlinfo = parse_url(hu);
$url = ($permlink_mode === 'messy')
? $urlinfo['path'].'index.php?s=file_download'.($type === 'textile' ? '&' : a).'id='.$id
: $urlinfo['path'].gTxt('file_download').'/'.$id.($filename ? '/'.urlencode($filename) : '');
: $urlinfo['path'].'file_download'.'/'.$id.($filename ? '/'.urlencode($filename) : '');

switch ($type) {
case 'textile':
Expand Down

0 comments on commit a43f9f0

Please sign in to comment.