mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 05:26:22 +05:30
Fix markup for profile page
Fix markup for profile page.
This commit is contained in:
parent
2591e69497
commit
557f99c18d
5 changed files with 27 additions and 12 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue