aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/welcome.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-20 11:15:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-20 11:15:00 +0000
commit81c1ee6e7d08ece79919fe7fd438f07f89d00eed (patch)
treed2c370e310eb7d63f4426b160f0974e4af244f41 /mod/pages/welcome.php
parent72961826b01e7e67533f16bd0c2a943695dc6a86 (diff)
downloadelgg-81c1ee6e7d08ece79919fe7fd438f07f89d00eed.tar.gz
elgg-81c1ee6e7d08ece79919fe7fd438f07f89d00eed.tar.bz2
Refs #2496 - manually merged [6975] from 1.7 branch
git-svn-id: http://code.elgg.org/elgg/trunk@7102 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/welcome.php')
-rw-r--r--mod/pages/welcome.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/welcome.php b/mod/pages/welcome.php
index 54a9e7b53..f486f646d 100644
--- a/mod/pages/welcome.php
+++ b/mod/pages/welcome.php
@@ -22,7 +22,7 @@ if ($page_owner === false || is_null($page_owner)) {
}
//get the owners welcome message if it exists
-$welcome_message = elgg_get_entities(array('types' => 'object', 'subtypes' => 'pages_welcome', 'owner_guid' => $page_owner->getGUID(), 'limit' => 1));
+$welcome_message = elgg_get_entities(array('types' => 'object', 'subtypes' => 'pages_welcome', 'container_guid' => $page_owner->getGUID(), 'limit' => 1));
global $CONFIG;
add_submenu_item(sprintf(elgg_echo("pages:user"), page_owner_entity()->name), $CONFIG->url . "pg/pages/owned/" . page_owner_entity()->username, 'pageslinksgeneral');