catch all the changes

This commit is contained in:
friendica 2013-02-13 17:35:14 -08:00
parent 3fdbb8b4ce
commit 27aa8560ae
2 changed files with 2 additions and 2 deletions

View file

@ -1301,7 +1301,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
if(! $user) {
logger('profile error: ' . $a->query_string, LOGGER_DEBUG);
notice( t('Requested account is not available.') . EOL );
notice( t('Requested channel is not available.') . EOL );
$a->error = 404;
return;
}

View file

@ -14,7 +14,7 @@ function common_init(&$a) {
$x = q("select channel_address from channel where channel_id = %d limit 1",
intval($channel_id)
};
);
if($x)
profile_load($a,$x[0]['channel_address'],0);