Skip to content
Permalink
Browse files

File download link in tagbuilder fix

  • Loading branch information...
bloatware committed Dec 12, 2018
1 parent 601814b commit a43f9f08b8d26467d6a54f8788b8a7f66f68a65c
Showing with 1 addition and 1 deletion.
  1. +1 −1 textpattern/include/txp_tag.php
@@ -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':

0 comments on commit a43f9f0

Please sign in to comment.
You can’t perform that action at this time.