diff options
Diffstat (limited to 'engine')
-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);
|