Browse Source

missing / in admin profile url

pull/1/head
Fabio Comuni 12 years ago
parent
commit
31aee6b803
  1. 2
      mod/friendika.php

2
mod/friendika.php

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

Loading…
Cancel
Save