mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
typo
This commit is contained in:
@ -1455,7 +1455,7 @@ class BaseHtml
|
||||
}
|
||||
} elseif (is_array($value) && $name === 'data') {
|
||||
foreach ($value as $n => $v) {
|
||||
$html .= "$name-$n\"" . static::encode($v) . '"';
|
||||
$html .= " $name-$n=\"" . static::encode($v) . '"';
|
||||
}
|
||||
} elseif ($value !== null) {
|
||||
$html .= " $name=\"" . static::encode($value) . '"';
|
||||
|
||||
Reference in New Issue
Block a user