]> git.mxchange.org Git - friendica.git/commitdiff
missing thumbnail in new profiles
authorFriendika <info@friendika.com>
Sun, 2 Jan 2011 22:26:23 +0000 (14:26 -0800)
committerFriendika <info@friendika.com>
Sun, 2 Jan 2011 22:26:23 +0000 (14:26 -0800)
mod/profiles.php

index e99e0f288c7a7c8e361116e25d174cfd4ff5abbf..1c75dc0eb140956eaca0ab2af10d26cf9c74143f 100644 (file)
@@ -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']);