aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-27 04:40:42 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-27 04:40:42 -0400
commitcc33a564e1658d32bb5bc3ad0abdfbe6871cf945 (patch)
treefdeb88be9d8545ead92c5d63a9d9af7f6a7ccc23 /mod/profile.php
parentc3388ad81336d45a40a66b69096f504ffa7e34cb (diff)
parent7c6c3d36f589d38de5e8b36f2ba1d940c8150e2c (diff)
downloadvolse-hubzilla-cc33a564e1658d32bb5bc3ad0abdfbe6871cf945.tar.gz
volse-hubzilla-cc33a564e1658d32bb5bc3ad0abdfbe6871cf945.tar.bz2
volse-hubzilla-cc33a564e1658d32bb5bc3ad0abdfbe6871cf945.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: profile wall privacy don't expire filed items * master:
Diffstat (limited to 'mod/profile.php')
-rwxr-xr-xmod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 428679ffc..782d17d83 100755
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -107,7 +107,7 @@ function profile_content(&$a, $update = 0) {
$is_owner = ((local_user()) && (local_user() == $a->profile['profile_uid']) ? true : false);
- if($a->user['hidewall'] && (! $is_owner) && (! $remote_contact)) {
+ if($a->profile['hidewall'] && (! $is_owner) && (! $remote_contact)) {
notice( t('Access to this profile has been restricted.') . EOL);
return;
}