aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-05 17:31:20 -0700
committerzotlabs <mike@macgirvin.com>2018-04-05 17:31:20 -0700
commitf4c94ab121167ac34e550939f032e9982d69307b (patch)
treeec6b3f931e070837ea518e25a3f98d984c19950c /include/import.php
parent64bb1ca2bbc18e044d360a4bc7da01740c26f818 (diff)
downloadvolse-hubzilla-f4c94ab121167ac34e550939f032e9982d69307b.tar.gz
volse-hubzilla-f4c94ab121167ac34e550939f032e9982d69307b.tar.bz2
volse-hubzilla-f4c94ab121167ac34e550939f032e9982d69307b.zip
use profile_store_lowlevel() when importing profile structures to ensure all non-null fields are present
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 d8b7030b6..1b0e95416 100644
--- a/include/import.php
+++ b/include/import.php
@@ -180,7 +180,7 @@ function import_profiles($channel, $profiles) {
$profile['thumb'] = z_root() . '/photo/' . basename($profile['thumb']);
}
- create_table_from_array('profile', $profile);
+ profile_store_lowlevel($profile);
}
}
}