aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-06 21:47:40 +0000
committerMario <mario@mariovavti.com>2018-10-07 08:43:28 +0200
commited97800c805fbc9bd5ed7c3f18bcb51c82db4620 (patch)
tree763cadf15263d666ad73892ef04c83d9a4337161
parent78c6f40093cb803019ae9565094f1d7a19d3ff18 (diff)
downloadvolse-hubzilla-ed97800c805fbc9bd5ed7c3f18bcb51c82db4620.tar.gz
volse-hubzilla-ed97800c805fbc9bd5ed7c3f18bcb51c82db4620.tar.bz2
volse-hubzilla-ed97800c805fbc9bd5ed7c3f18bcb51c82db4620.zip
use hubloc_store_lowlevel to ensure all hubloc columns are initialised
(cherry picked from commit 52be5c1660abb1f3f8c6a8f0ba09799615214c30)
-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",