track requested profile error msg

This commit is contained in:
friendica 2012-04-14 14:45:09 -07:00
commit 0939029b74
3 changed files with 62 additions and 17 deletions

View file

@ -17,6 +17,7 @@ function profile_init(&$a) {
goaway($a->get_baseurl() . '/profile/' . $r[0]['nickname']);
}
else {
logger('profile error: mod_profile ' . $a->query_string, LOGGER_DEBUG);
notice( t('Requested profile is not available.') . EOL );
$a->error = 404;
return;