diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-31 00:36:42 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-31 00:36:42 +0000 |
commit | 9e8baf614938dfd1687ddce39b409c3c0e5c5753 (patch) | |
tree | d11491c7c4af057de43b114e8965d8bad78b2b42 /mod/profile | |
parent | f5aa7f117267f2366813f0798c263989c34ad3ea (diff) | |
download | elgg-9e8baf614938dfd1687ddce39b409c3c0e5c5753.tar.gz elgg-9e8baf614938dfd1687ddce39b409c3c0e5c5753.tar.bz2 |
fixing test code for previous commit
git-svn-id: http://code.elgg.org/elgg/trunk@6887 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-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; |