Problem in AddPoint function
Status: Beta
Brought to you by:
ayashisunyday
I think the code below is very restrictive:
----------------------------------------------------------------------
if (is_array($Value) && count($Value) == 1) {
$Value = $Value[0];
}
t will be better if the code was that:
----------------------------------------------------------------------
if (is_array($Value) && count($Value) == 1) {
foreach($Value as $k => $v){
$Value = $v;
}
}
Same issue solved another way :
if (is_array($Value) && count($Value) == 1) {
sort($Value);
$Value = $Value[0];
}