aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-02 14:26:23 -0800
committerFriendika <info@friendika.com>2011-01-02 14:26:23 -0800
commitc907c22edac95552958c7c070cd77420b032e9d0 (patch)
tree8b3031f0f0b2c6ac64f99576a1383646d71d10e8 /mod/profiles.php
parent4f796c68d2db16813b0115f8b7f983326b9a072d (diff)
downloadvolse-hubzilla-c907c22edac95552958c7c070cd77420b032e9d0.tar.gz
volse-hubzilla-c907c22edac95552958c7c070cd77420b032e9d0.tar.bz2
volse-hubzilla-c907c22edac95552958c7c070cd77420b032e9d0.zip
missing thumbnail in new profiles
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 e99e0f288..1c75dc0eb 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -265,13 +265,14 @@ function profiles_content(&$a) {
dbesc($name),
dbesc($r1[0]['name']),
dbesc($r1[0]['photo']),
- dbesc($ra[0]['thumb'])
+ dbesc($r1[0]['thumb'])
);
$r3 = q("SELECT `id` FROM `profile` WHERE `uid` = %d AND `profile-name` = '%s' LIMIT 1",
intval(local_user()),
dbesc($name)
);
+
notice( t('New profile created.') . EOL);
if(count($r3) == 1)
goaway($a->get_baseurl() . '/profiles/' . $r3[0]['id']);