diff options
author | Michael Meer <michael@meer.name> | 2013-03-21 18:38:34 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2013-03-21 18:38:34 +0100 |
commit | c1f3c720995fa93eff78d93492eba56dd2f0ca2b (patch) | |
tree | 7c7526c9b29af33d82eaa2d19de8944d2aacfe2c /mod | |
parent | d9492a4a7687ba3804fcb353d916002b8fb2853d (diff) | |
download | volse-hubzilla-c1f3c720995fa93eff78d93492eba56dd2f0ca2b.tar.gz volse-hubzilla-c1f3c720995fa93eff78d93492eba56dd2f0ca2b.tar.bz2 volse-hubzilla-c1f3c720995fa93eff78d93492eba56dd2f0ca2b.zip |
otherwise add profile wont work
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profiles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 0a8b2b9dc..e7cc01b4e 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -59,7 +59,7 @@ function profiles_init(&$a) { intval(local_user())); $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(local_user()), dbesc(random_string()), |