From c83da012ffcced1cbe1910c53a345fd581e1e4cd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 3 Sep 2015 16:19:59 -0700 Subject: profile import error #34 --- mod/import.php | 5 ++--- 1 file 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; -- cgit v1.2.3