From a62c938099b2251c0f011186f5183dd0033828c3 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 24 Aug 2018 23:39:08 +0800 Subject: [PATCH] Update attrSet initializer to empty string --- app/Support/TimezonelistExtended.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/TimezonelistExtended.php b/app/Support/TimezonelistExtended.php index 9a708adb..05a34bb2 100644 --- a/app/Support/TimezonelistExtended.php +++ b/app/Support/TimezonelistExtended.php @@ -43,7 +43,7 @@ class TimezonelistExtended extends Timezonelist public function create($name, $selected='', $attr='', $htmlencode=true) { // Attributes for select element - $attrSet = null; + $attrSet = ''; if (!empty($attr)) { if (is_array($attr)) { foreach ($attr as $attr_name => $attr_value) {