Skip to content

Commit

Permalink
馃悰 BASE #280 PHP 8.2 corre莽茫o explode
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Feb 20, 2023
1 parent a66a5a4 commit 0796f49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base/classes/webform/TCoordGMS.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ public function __construct($strName, $boolRequired=null, $floatLatY=null, $floa
$strSymbols = is_null($strSymbols) ? "掳,',\"" : $strSymbols;
$strLabels = is_null($strSymbols) ? ",," : $strLabels;
$intSymbolsFontSize = is_null($intSymbolsFontSize) ? "18" : $intSymbolsFontSize;
$labels = explode(',', $strLabels);
$labels = null;
if(!empty($strLabels)){
$labels = explode(',', $strLabels);
}
$labels[0] = isset($labels[0]) ? $labels[0] : '';
$labels[1] = isset($labels[1]) ? $labels[1] : '';
$labels[2] = isset($labels[2]) ? $labels[2] : '';
Expand Down

0 comments on commit 0796f49

Please sign in to comment.