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