don't prompt guests for a password if they're accessing an embedded public file.

This commit is contained in:
friendica
2014-01-26 02:58:03 -08:00
parent b5c6db1205
commit f90b3b60cb
3 changed files with 24 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ function change_channel($change_channel) {
intval(PAGE_REMOVED)
);
if($r) {
if($r) {
$hash = $r[0]['channel_hash'];
$_SESSION['uid'] = intval($r[0]['channel_id']);
get_app()->set_channel($r[0]);