Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1840 from chrisdavenport/patch-1

Update libraries/joomla/document/json/json.php
  • Loading branch information...
commit 5fbac7b17824b735502355b576bb6ee7524cc9bd 2 parents 98a39bd + 28fa2ce
@dongilbert dongilbert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/document/json/json.php
View
2  libraries/joomla/document/json/json.php
@@ -57,7 +57,7 @@ public function __construct($options = array())
*/
public function render($cache = false, $params = array())
{
- JResponse::allowCache(false);
+ JResponse::allowCache($cache);
JResponse::setHeader('Content-disposition', 'attachment; filename="' . $this->getName() . '.json"', true);
parent::render();
Please sign in to comment.
Something went wrong with that request. Please try again.