Fix detach link to include filename

This commit is contained in:
Jamie Cameron
2011-08-12 14:59:04 -07:00
parent 902de22962
commit d38cf5395c
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ if (@attach) {
}
else {
print &ui_columns_row([
"<a href='detach_queue.cgi?id=$in{'id'}&attach=$a->{'idx'}$subs'>$a->{'filename'}</a>",
"<a href='detach_queue.cgi/$a->{'filename'}?id=$in{'id'}&attach=$a->{'idx'}$subs'>$a->{'filename'}</a>",
$a->{'type'},
&nice_size(length($a->{'data'})),
]);

View File

@@ -114,7 +114,7 @@ if (@attach) {
}
else {
print &ui_columns_row([
"<a href='qdetach.cgi?file=$qfile&attach=$a->{'idx'}$subs'>$a->{'filename'}</a>",
"<a href='qdetach.cgi/$a->{'filename'}?file=$qfile&attach=$a->{'idx'}$subs'>$a->{'filename'}</a>",
$a->{'type'},
&nice_size(length($a->{'data'})),
]);