diff --git a/system/includes/functions.php b/system/includes/functions.php index fb569cc..1eb07cb 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -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(); + } } diff --git a/themes/clean/profile.html.php b/themes/clean/profile.html.php index 998d5ae..22deb38 100644 --- a/themes/clean/profile.html.php +++ b/themes/clean/profile.html.php @@ -1,7 +1,9 @@
-