aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-26 02:58:03 -0800
committerfriendica <info@friendica.com>2014-01-26 02:58:03 -0800
commitf90b3b60cb04b63386c9d16eb8dcb6530df979a0 (patch)
treeb61ba0ee706c213e5d53e0aac68f9674ae567324 /include/security.php
parentb5c6db12051a8e40afe0d8dabbd4775d21adcb4e (diff)
downloadvolse-hubzilla-f90b3b60cb04b63386c9d16eb8dcb6530df979a0.tar.gz
volse-hubzilla-f90b3b60cb04b63386c9d16eb8dcb6530df979a0.tar.bz2
volse-hubzilla-f90b3b60cb04b63386c9d16eb8dcb6530df979a0.zip
don't prompt guests for a password if they're accessing an embedded public file.
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php
index 4a15e52af..5e86cf790 100644
--- a/include/security.php
+++ b/include/security.php
@@ -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]);