aboutsummaryrefslogtreecommitdiff
path: root/mod/embed
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed')
-rw-r--r--mod/embed/views/default/embed/link.php2
-rw-r--r--mod/embed/views/default/embed/upload/content.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php
index 4ed193047..2bcf48300 100644
--- a/mod/embed/views/default/embed/link.php
+++ b/mod/embed/views/default/embed/link.php
@@ -10,7 +10,7 @@ if (elgg_is_active_plugin('ecml')) {
$active_section = '';
}
-$url = "pg/embed/?{$active_section}internal_name={$vars['internalname']}";
+$url = "pg/embed/?{$active_section}internal_name={$vars['name']}";
$url = elgg_normalize_url($url);
?>
diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php
index a8330bce0..f314c26d2 100644
--- a/mod/embed/views/default/embed/upload/content.php
+++ b/mod/embed/views/default/embed/upload/content.php
@@ -15,7 +15,7 @@ if ($upload_sections) {
$input = elgg_view('input/dropdown', array(
'name' => 'download_section',
'options_values' => $options,
- 'internalid' => 'embed_upload',
+ 'id' => 'embed_upload',
'value' => $active_section
));