Update attrSet initializer to empty string
This commit is contained in:
parent
a9536064d3
commit
a62c938099
@ -43,7 +43,7 @@ class TimezonelistExtended extends Timezonelist
|
|||||||
public function create($name, $selected='', $attr='', $htmlencode=true)
|
public function create($name, $selected='', $attr='', $htmlencode=true)
|
||||||
{
|
{
|
||||||
// Attributes for select element
|
// Attributes for select element
|
||||||
$attrSet = null;
|
$attrSet = '';
|
||||||
if (!empty($attr)) {
|
if (!empty($attr)) {
|
||||||
if (is_array($attr)) {
|
if (is_array($attr)) {
|
||||||
foreach ($attr as $attr_name => $attr_value) {
|
foreach ($attr as $attr_name => $attr_value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user