Method "CClientScript::registerMetaTag()" allows duplication of meta tags.

This commit is contained in:
Paul Klimov
2012-09-07 13:16:33 +03:00
parent 3a14d15293
commit ef8262c103
2 changed files with 65 additions and 1 deletions

View File

@@ -654,7 +654,7 @@ class CClientScript extends CApplicationComponent
if($httpEquiv!==null)
$options['http-equiv']=$httpEquiv;
$options['content']=$content;
$this->metaTags[serialize($options)]=$options;
$this->metaTags[]=$options;
$params=func_get_args();
$this->recordCachingAction('clientScript','registerMetaTag',$params);
return $this;