diff options
Diffstat (limited to 'mod/embed/views/default/embed/upload/content.php')
-rw-r--r-- | mod/embed/views/default/embed/upload/content.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php index 199eb7ede..c0b7afb11 100644 --- a/mod/embed/views/default/embed/upload/content.php +++ b/mod/embed/views/default/embed/upload/content.php @@ -35,7 +35,7 @@ if ($upload_sections) { // change for pulldown $('#embed_upload').change(function() { var upload_section = $(this).val(); - var url = '<?php echo $vars['url']; ?>pg/embed/embed?active_section=upload&active_upload_section=' + upload_section; + var url = '<?php echo elgg_get_site_url(); ?>pg/embed/embed?active_section=upload&active_upload_section=' + upload_section; $('#facebox .body .content').load(url); }); |