diff options
author | cash <cash.costello@gmail.com> | 2011-06-18 22:14:42 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-18 22:14:42 -0400 |
commit | 1f6b5cc6ac57ead98bbaa6c85323a69b6128629e (patch) | |
tree | 105e5bdb16dbab41ab4b26830a7d01949a5eb09b /mod | |
parent | 780d9cb45f90158fdb843c41c8c1203ebdb06a3f (diff) | |
download | elgg-1f6b5cc6ac57ead98bbaa6c85323a69b6128629e.tar.gz elgg-1f6b5cc6ac57ead98bbaa6c85323a69b6128629e.tar.bz2 |
fixed issue with embedding a file in an embedded file
Diffstat (limited to 'mod')
-rw-r--r-- | mod/embed/start.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php index e6fc5551b..f6f1acc57 100644 --- a/mod/embed/start.php +++ b/mod/embed/start.php @@ -32,6 +32,10 @@ function embed_init() { * @return array */ function embed_longtext_menu($hook, $type, $items, $vars) { + + if (elgg_get_context() == 'embed') { + return $items; + } $items[] = ElggMenuItem::factory(array( 'name' => 'embed', |