Fix markup for profile page

Fix markup for profile page.
This commit is contained in:
Danang Probo Sayekti 2014-02-13 10:46:02 +07:00
commit 557f99c18d
5 changed files with 27 additions and 12 deletions

View file

@ -312,6 +312,8 @@ function get_bio($author){
$names = get_author_names();
$username = 'config/users/' . $author . '.ini';
$tmp = array();
if(!empty($names)) {
@ -351,7 +353,13 @@ function get_bio($author){
}
}
}
return $tmp;
if(!empty($tmp) || file_exists($username)) {
return $tmp;
}
else {
not_found();
}
}