mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
catch all the changes
This commit is contained in:
parent
3fdbb8b4ce
commit
27aa8560ae
2 changed files with 2 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue