mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 23:55:16 +00:00
Merge pull request #40 from MicMee/master
small fix for to add additional profiles
This commit is contained in:
commit
7dfdc4fba7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function profiles_init(&$a) {
|
||||||
intval(local_user()));
|
intval(local_user()));
|
||||||
|
|
||||||
$r2 = q("INSERT INTO `profile` (`aid`, `uid` , `profile_guid`, `profile_name` , `name`, `photo`, `thumb`)
|
$r2 = q("INSERT INTO `profile` (`aid`, `uid` , `profile_guid`, `profile_name` , `name`, `photo`, `thumb`)
|
||||||
VALUES ( %d, '%s', '%s', '%s', '%s' )",
|
VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
|
||||||
intval(get_account_id()),
|
intval(get_account_id()),
|
||||||
intval(local_user()),
|
intval(local_user()),
|
||||||
dbesc(random_string()),
|
dbesc(random_string()),
|
||||||
|
|
Loading…
Reference in a new issue