From c1f3c720995fa93eff78d93492eba56dd2f0ca2b Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Thu, 21 Mar 2013 18:38:34 +0100 Subject: otherwise add profile wont work --- mod/profiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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()), -- cgit v1.2.3