diff --git a/contrib/notes/theme.php b/contrib/notes/theme.php
index 5bbf506e..4d0e1d3e 100644
--- a/contrib/notes/theme.php
+++ b/contrib/notes/theme.php
@@ -58,8 +58,9 @@ class NotesTheme extends Themelet {
// check action POST on form
public function display_note_system(Page $page, $image_id, $recovered_notes, $adminOptions)
{
- $page->add_html_header("", 100);
- $page->add_html_header("", 101);
+ $data_href = get_base_href();
+ $page->add_html_header("", 100);
+ $page->add_html_header("", 101);
$html = "