Author Topic: vmcustom plugin Content-Disposition syntax error  (Read 575 times)

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
vmcustom plugin Content-Disposition syntax error
« 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
Best regards,
Wel

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: vmcustom plugin Content-Disposition syntax error
« Reply #1 on: November 28, 2014, 13:44:48 pm »
Perfect place,
thank you.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/