aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-03 16:19:59 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-03 16:19:59 -0700
commitc83da012ffcced1cbe1910c53a345fd581e1e4cd (patch)
treed051814a0af33ad02f6133cb5b6d840d02e7fdbc
parent46e9c4299e82a4fa1b105a5bb9f83d8560369e53 (diff)
downloadvolse-hubzilla-c83da012ffcced1cbe1910c53a345fd581e1e4cd.tar.gz
volse-hubzilla-c83da012ffcced1cbe1910c53a345fd581e1e4cd.tar.bz2
volse-hubzilla-c83da012ffcced1cbe1910c53a345fd581e1e4cd.zip
profile import error #34
-rw-r--r--mod/import.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/import.php b/mod/import.php
index c2ed82a0a..391461687 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -161,7 +161,6 @@ function import_post(&$a) {
}
-
if($completed < 3) {
if($data['photo']) {
@@ -169,8 +168,8 @@ function import_post(&$a) {
import_channel_photo(base64url_decode($data['photo']['data']),$data['photo']['type'],get_account_id(),$channel['channel_id']);
}
- if(is_array($data['profiles']))
- import_profiles($channel,$data['profiles']);
+ if(is_array($data['profile']))
+ import_profiles($channel,$data['profile']);
logger('import step 3');
$_SESSION['import_step'] = 3;