mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 03:48:24 +00:00
c49da62c23
Fixes #2803
14 lines
232 B
PHP
14 lines
232 B
PHP
<?php
|
|
if (!isset($channel)) {
|
|
$channel = array();
|
|
}
|
|
if (!isset($channel['title'])) {
|
|
$channel['title'] = $title_for_layout;
|
|
}
|
|
|
|
echo $this->Rss->document(
|
|
$this->Rss->channel(
|
|
array(), $channel, $this->fetch('content')
|
|
)
|
|
);
|
|
?>
|