aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pageowner.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 18:50:16 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 18:50:16 +0000
commit4f16717549a96bd21e20308191ed19c0aeae90ad (patch)
tree8b3d255b1209b58b83a391e4e6478821052b77d1 /engine/lib/pageowner.php
parent046f416134fb6ed161ecc3a48e1199eebc312aa5 (diff)
downloadelgg-4f16717549a96bd21e20308191ed19c0aeae90ad.tar.gz
elgg-4f16717549a96bd21e20308191ed19c0aeae90ad.tar.bz2
page_owner() now works off owner_guid, not owner_id
git-svn-id: https://code.elgg.org/elgg/trunk@1324 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/pageowner.php')
-rw-r--r--engine/lib/pageowner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/pageowner.php b/engine/lib/pageowner.php
index dab7110e0..9e04fdb5c 100644
--- a/engine/lib/pageowner.php
+++ b/engine/lib/pageowner.php
@@ -34,7 +34,7 @@
return 0;
}
}
- if ($owner = get_input("owner_id")) {
+ if ($owner = get_input("owner_guid")) {
if ($user = get_user($owner)) {
return $user->getGUID();
} else {