catch all the changes
This commit is contained in:
parent
3fdbb8b4ce
commit
27aa8560ae
2
boot.php
2
boot.php
@ -1301,7 +1301,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
|
|||||||
|
|
||||||
if(! $user) {
|
if(! $user) {
|
||||||
logger('profile error: ' . $a->query_string, LOGGER_DEBUG);
|
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;
|
$a->error = 404;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ function common_init(&$a) {
|
|||||||
|
|
||||||
$x = q("select channel_address from channel where channel_id = %d limit 1",
|
$x = q("select channel_address from channel where channel_id = %d limit 1",
|
||||||
intval($channel_id)
|
intval($channel_id)
|
||||||
};
|
);
|
||||||
|
|
||||||
if($x)
|
if($x)
|
||||||
profile_load($a,$x[0]['channel_address'],0);
|
profile_load($a,$x[0]['channel_address'],0);
|
||||||
|
Reference in New Issue
Block a user