|
|
@ -157,7 +157,8 @@ function import_account(&$a, $file) { |
|
|
|
//~ $newuid = 1;
|
|
|
|
|
|
|
|
// Generate a new guid for the account. Otherwise there will be problems with diaspora
|
|
|
|
q("UPDATE `user` SET `guid` = '%s' WHERE `uid` = %d", generate_user_guid(), $newuid); |
|
|
|
q("UPDATE `user` SET `guid` = '%s' WHERE `uid` = %d", |
|
|
|
dbesc(generate_user_guid()), intval($newuid)); |
|
|
|
|
|
|
|
foreach ($account['profile'] as &$profile) { |
|
|
|
foreach ($profile as $k => &$v) { |
|
|
|