track requested profile error msg
This commit is contained in:
parent
6591b292a1
commit
0939029b74
3 changed files with 62 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue