diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-29 22:18:05 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-29 22:18:05 -0700 |
commit | 30fe8e39d64c841b13c04f16c6dc290893bd9f79 (patch) | |
tree | 8954cb8d8199dd5c0d8aea2a723d37e2732fc298 /mod/profile.php | |
parent | 7ae75101f182dcee482a075b00fac519f2f02f3c (diff) | |
download | volse-hubzilla-30fe8e39d64c841b13c04f16c6dc290893bd9f79.tar.gz volse-hubzilla-30fe8e39d64c841b13c04f16c6dc290893bd9f79.tar.bz2 volse-hubzilla-30fe8e39d64c841b13c04f16c6dc290893bd9f79.zip |
security issue
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php index 6c60ea8ac..a39d839a9 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -2,7 +2,6 @@ if(! function_exists('profile_load')) { function profile_load(&$a, $username, $profile = 0) { - if(remote_user()) { $r = q("SELECT `profile-id` FROM `contact` WHERE `id` = %d LIMIT 1", intval($_SESSION['visitor_id'])); @@ -193,7 +192,7 @@ function profile_content(&$a, $update = 0) { // Profile owner - everything is visible - if(is_owner) { + if($is_owner) { $sql_extra = ''; // Oh - while we're here... reset the Unseen messages |