profile import error #34

This commit is contained in:
redmatrix 2015-09-03 16:19:59 -07:00
parent 46e9c4299e
commit c83da012ff

View File

@ -161,7 +161,6 @@ function import_post(&$a) {
} }
if($completed < 3) { if($completed < 3) {
if($data['photo']) { 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']); import_channel_photo(base64url_decode($data['photo']['data']),$data['photo']['type'],get_account_id(),$channel['channel_id']);
} }
if(is_array($data['profiles'])) if(is_array($data['profile']))
import_profiles($channel,$data['profiles']); import_profiles($channel,$data['profile']);
logger('import step 3'); logger('import step 3');
$_SESSION['import_step'] = 3; $_SESSION['import_step'] = 3;