aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-03 02:47:36 -0700
committerfriendica <info@friendica.com>2013-07-03 02:47:36 -0700
commitc16b65b5bd7f5a43647523ef9dd351a9edb17fde (patch)
tree8f6e31fa7939c2dde80781fc3683813d2dfc0168 /mod/profiles.php
parent8369a8a7559391ea6cb2757b5093bcf47aed0ed1 (diff)
downloadvolse-hubzilla-c16b65b5bd7f5a43647523ef9dd351a9edb17fde.tar.gz
volse-hubzilla-c16b65b5bd7f5a43647523ef9dd351a9edb17fde.tar.bz2
volse-hubzilla-c16b65b5bd7f5a43647523ef9dd351a9edb17fde.zip
multi-profiles work
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index ff6bc8ff6..28d8dd973 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -47,7 +47,7 @@ function profiles_init(&$a) {
if((argc() > 1) && (argv(1) === 'new')) {
- check_form_security_token_redirectOnErr('/profiles', 'profile_new', 't');
+// check_form_security_token_redirectOnErr('/profiles', 'profile_new', 't');
$r0 = q("SELECT `id` FROM `profile` WHERE `uid` = %d",
intval(local_user()));
@@ -519,6 +519,7 @@ function profiles_content(&$a) {
'$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t='
. get_form_security_token("profile_drop"),
+ '$guid' => $r[0]['profile_guid'],
'$banner' => t('Edit Profile Details'),
'$submit' => t('Submit'),
'$viewprof' => t('View this profile'),