Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Adding a check for "getHeadData" in JCache #332

Merged
merged 1 commit into from Sep 4, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/joomla/cache/cache.php
Expand Up @@ -564,7 +564,7 @@ public static function setWorkarounds($data, $options = array())
$cached['body'] = $data; $cached['body'] = $data;


// Document head data // Document head data
if ($loptions['nohead'] != 1) if ($loptions['nohead'] != 1 && method_exists($document, 'getHeadData'))
{ {


if ($loptions['modulemode'] == 1) if ($loptions['modulemode'] == 1)
Expand Down