Revize 19bccc86
Přidáno uživatelem Ondřej Fibich před téměř 8 roky(ů)
application/controllers/members.php | ||
---|---|---|
}
|
||
else
|
||
{ // delete gps
|
||
$address_point->gps = '';
|
||
$address_point->gps = NULL;
|
||
$address_point->save_throwable();
|
||
}
|
||
|
||
... | ... | |
}
|
||
else
|
||
{ // delete gps
|
||
$address_point->gps = '';
|
||
$address_point->gps = NULL;
|
||
$address_point->save_throwable();
|
||
}
|
||
// add domicicle
|
||
... | ... | |
}
|
||
else
|
||
{ // delete gps
|
||
$address_point->gps = '';
|
||
$address_point->gps = NULL;
|
||
$address_point->save();
|
||
}
|
||
|
||
... | ... | |
}
|
||
else
|
||
{ // delete gps
|
||
$address_point->gps = '';
|
||
$address_point->gps = NULL;
|
||
$address_point->save();
|
||
}
|
||
}
|
Také k dispozici: Unified diff
Refs #1056: GPS in address point table is filled with NULL value instead of empty string value in order to be compactible with MySQL 5.7 and higher that do not support empty string in geometry field values