1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-03 02:38:06 +02:00

meta typo fix

This commit is contained in:
secretr 2012-05-11 10:17:55 +00:00
parent b7d3bf7660
commit a488943453

View File

@ -3702,12 +3702,12 @@ class eResponse
$attrData = '';
foreach ($this->_meta as $attr)
{
$attrData .= '<meta';
foreach ($attr as $p => $v)
{
$attrData .= '<meta';
$attrData .= ' '.preg_replace('/[\w\-]/', '', $p).'="'.str_replace(array('"', '<'), '', $v).'"';
$attrData .= ' />'."\n";
}
$attrData .= ' />'."\n";
}
return $attrData;
}