joomla-cms/libraries/src/Cache/Cache.php
Line 564 in 418de6e
This block of code is using
$document->setBuffer($contents, 'module', $name);
whereas the setBuffer
method signature is:
/**
* Set the contents of the document buffer
*
* @param string $content The content to be set in the buffer.
* @param array $options Array of optional elements.
*
* @return Document instance of $this to allow chaining
*
* @since 1.7.0
*/
public function setBuffer($content, $options = array())
{
self::$_buffer = $content;
return $this;
}
methods called correctly
this code probably doesn't work at all.
Labels |
Added:
?
|
Title |
|
well nothing to fix - just a strange way to approach b/c :)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-06 23:18:20 |
Closed_By | ⇒ | PhilETaylor | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
This works, there is fallback code in
DocumentHTML
joomla-cms/libraries/src/Document/HtmlDocument.php
Lines 603 to 618 in 9538184
But better update that part of course.