aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-06 14:47:40 -0700
committerzotlabs <mike@macgirvin.com>2018-10-06 14:47:40 -0700
commit52be5c1660abb1f3f8c6a8f0ba09799615214c30 (patch)
treee7a7a7df022fa30815f41c24aba8f2bdd0fd55a9 /include/import.php
parent835e222af0df627a262ab55e940f9d3808b6e000 (diff)
downloadvolse-hubzilla-52be5c1660abb1f3f8c6a8f0ba09799615214c30.tar.gz
volse-hubzilla-52be5c1660abb1f3f8c6a8f0ba09799615214c30.tar.bz2
volse-hubzilla-52be5c1660abb1f3f8c6a8f0ba09799615214c30.zip
use hubloc_store_lowlevel to ensure all hubloc columns are initialised
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 0fc24a26f..714161c57 100644
--- a/include/import.php
+++ b/include/import.php
@@ -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",