diff options
author | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 16:07:09 +0000 |
---|---|---|
committer | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 16:07:09 +0000 |
commit | a1d056d0bf0a28fc2589995b3eff66d5425dd06d (patch) | |
tree | 44e2e6fd80fc43f1b4b7ef9d62b56deac2f03d46 /actions | |
parent | 413a10665f90bc588b07d3e2a5376fa2f387ba09 (diff) | |
download | elgg-a1d056d0bf0a28fc2589995b3eff66d5425dd06d.tar.gz elgg-a1d056d0bf0a28fc2589995b3eff66d5425dd06d.tar.bz2 |
videos now work for groups
git-svn-id: http://code.elgg.org@6234 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/add.php b/actions/add.php index 528e65269..87f459a3a 100644 --- a/actions/add.php +++ b/actions/add.php @@ -23,7 +23,7 @@ if ($page_owner === false || is_null($page_owner)) { set_page_owner($_SESSION['guid']); } -if($page_owner->type == "group") { +if($page_owner instanceof ElggGroup) { $entity_referer = $page_owner->type.":".$page_owner->getGUID(); } else { $entity_referer = $page_owner->username; |