diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/import.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/import.php b/mod/import.php index 0c91cf118..d1b3216d0 100644 --- a/mod/import.php +++ b/mod/import.php @@ -114,6 +114,8 @@ function import_post(&$a) { // reset $channel = $r[0]; + set_default_login_identity($a->get_account(),$channel['channel_id'],false); + if($data['photo']) { require_once('include/photo/photo_driver.php'); import_channel_photo(base64url_decode($data['photo']['data']),$data['photo']['type'],get_account_id,$channel['channel_id']); |