diff options
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/profile/views/default/profile/profile_ownerblock.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/profile_ownerblock.php b/mod/profile/views/default/profile/profile_ownerblock.php index cfbd62657..77ffc6e21 100755 --- a/mod/profile/views/default/profile/profile_ownerblock.php +++ b/mod/profile/views/default/profile/profile_ownerblock.php @@ -14,7 +14,7 @@ if ($vars['entity']) { } else { $user = page_owner_entity(); } -if ($user) { +if (!$user) { // no user so we quit view echo sprintf(elgg_echo('viewfailure'), __FILE__); return TRUE; |