use hubloc_store_lowlevel to ensure all hubloc columns are initialised

This commit is contained in:
zotlabs 2018-10-06 14:47:40 -07:00
parent 835e222af0
commit 52be5c1660

View File

@ -234,7 +234,7 @@ function import_hublocs($channel, $hublocs, $seize, $moving = false) {
if(($x = zot_gethub($arr,false)) === false) {
unset($hubloc['hubloc_id']);
create_table_from_array('hubloc', $hubloc);
hubloc_store_lowlevel($hubloc);
}
else {
q("UPDATE hubloc set hubloc_primary = %d, hubloc_deleted = %d where hubloc_id = %d",