aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-31 00:36:42 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-31 00:36:42 +0000
commit9e8baf614938dfd1687ddce39b409c3c0e5c5753 (patch)
treed11491c7c4af057de43b114e8965d8bad78b2b42 /mod/profile/views/default
parentf5aa7f117267f2366813f0798c263989c34ad3ea (diff)
downloadelgg-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/views/default')
-rwxr-xr-xmod/profile/views/default/profile/profile_ownerblock.php2
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;