mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 11:02:40 +00:00
1.2 RssHelper: fixing enclosure bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
7d63f4340c
commit
8b88865c29
1 changed files with 4 additions and 4 deletions
|
@ -202,13 +202,13 @@ class RssHelper extends XmlHelper {
|
|||
}
|
||||
if (!isset($val['type']) && function_exists('mime_content_type')) {
|
||||
$val['type'] = mime_content_type(WWW_ROOT . $val['url']);
|
||||
}
|
||||
$val['url'] = Router::url($val['url'], true);
|
||||
$attrib = $val;
|
||||
}
|
||||
}
|
||||
$val['url'] = Router::url($val['url'], true);
|
||||
$attrib = $val;
|
||||
$val = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($val != null) {
|
||||
$val = h($val);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue