mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-04 23:34:05 +01:00
reverted r3227 (discussion on issue 2460)
This commit is contained in:
@@ -632,12 +632,7 @@ class CClientScript extends CApplicationComponent
|
||||
if($httpEquiv!==null)
|
||||
$options['http-equiv']=$httpEquiv;
|
||||
$options['content']=$content;
|
||||
|
||||
if(isset($options['name']))
|
||||
$this->metaTags[$options['name']]=$options;
|
||||
else
|
||||
$this->metaTags[]=$options;
|
||||
|
||||
$this->metaTags[serialize($options)]=$options;
|
||||
$params=func_get_args();
|
||||
$this->recordCachingAction('clientScript','registerMetaTag',$params);
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user