VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on November 28, 2014, 13:32:11 PM

Title: vmcustom plugin Content-Disposition syntax error
Post by: welrachid on November 28, 2014, 13:32:11 PM
components/com_virtuemart/controllers/plugins.php
Line 73
            JResponse::setHeader ('Content-Disposition', 'attachment;filename="' . $type . '".json"');

Should be
            JResponse::setHeader ('Content-Disposition', 'attachment;filename="' . $type . '.json"');

Notice removal of " after $type.

i was looking for a place where i could commit my "change", but this is the only place i found. Now its up to you guys to make it work.

Best regards
Wel Rachid
We-Serve-You ApS
Title: Re: vmcustom plugin Content-Disposition syntax error
Post by: Milbo on November 28, 2014, 13:44:48 PM
Perfect place,
thank you.