diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-18 11:49:47 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-18 11:49:47 +0000 |
commit | bfb331611d6a4fbb09e3b4a2eb8425a61445dd30 (patch) | |
tree | 8e2193c8a0eff8a9d9a5d94700f633988f2d5413 | |
parent | 4c4adfb32b7f3b36d6524b31c1ffafd8f04b9c8d (diff) | |
download | elgg-bfb331611d6a4fbb09e3b4a2eb8425a61445dd30.tar.gz elgg-bfb331611d6a4fbb09e3b4a2eb8425a61445dd30.tar.bz2 |
Closes #1025: Using the correct variable.
git-svn-id: https://code.elgg.org/elgg/trunk@3294 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index 45aa49962..aace86335 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -345,7 +345,7 @@ END; $name = trim($name);
if (empty($name)) return false;
- if ($user_id == 0) $user_id = get_loggedin_userid();
+ if ($owner_guid == 0) $owner_guid = get_loggedin_userid();
if (($site_id == 0) && (isset($CONFIG->site_guid))) $site_id = $CONFIG->site_guid;
$name = sanitise_string($name);
|