missing / in admin profile url

This commit is contained in:
Fabio Comuni 2011-05-12 10:33:59 +02:00
parent 564f9c924a
commit 31aee6b803

View file

@ -8,7 +8,7 @@ function friendika_content(&$a) {
$r = q("SELECT username, nickname FROM user WHERE email='%s'", $a->config['admin_email']); $r = q("SELECT username, nickname FROM user WHERE email='%s'", $a->config['admin_email']);
$admin = array( $admin = array(
'name' => $r[0]['username'], 'name' => $r[0]['username'],
'profile'=> $a->get_baseurl().'profile/'.$r[0]['nickname'], 'profile'=> $a->get_baseurl().'/profile/'.$r[0]['nickname'],
); );
} else { } else {
$admin = false; $admin = false;