mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-30 02:37:18 +00:00
29e15386b2
correct assert order for test
13 lines
241 B
PHP
13 lines
241 B
PHP
<?php
|
|
if (!isset($channel)):
|
|
$channel = array();
|
|
endif;
|
|
if (!isset($channel['title'])):
|
|
$channel['title'] = $this->fetch('title');
|
|
endif;
|
|
|
|
echo $this->Rss->document(
|
|
$this->Rss->channel(
|
|
array(), $channel, $this->fetch('content')
|
|
)
|
|
);
|