From: cash Date: Sun, 19 Jun 2011 02:14:42 +0000 (-0400) Subject: fixed issue with embedding a file in an embedded file X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1f6b5cc6ac57ead98bbaa6c85323a69b6128629e;p=lorea%2Felgg.git fixed issue with embedding a file in an embedded file --- 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',