summaryrefslogtreecommitdiff
path: root/includes/functions/functions_mediadb.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_mediadb.php')
-rw-r--r--includes/functions/functions_mediadb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_mediadb.php b/includes/functions/functions_mediadb.php
index 6a57143514..bac16aa640 100644
--- a/includes/functions/functions_mediadb.php
+++ b/includes/functions/functions_mediadb.php
@@ -1799,7 +1799,7 @@ function show_media_form($pid, $action = "newentry", $filename = "", $linktoid =
echo "<input type=\"checkbox\" name=\"preserve_last_changed\" />";
}
echo WT_I18N::translate('Do not update the “last change” record'), help_link('no_update_CHAN'), "<br />";
- $event = new WT_Event(get_sub_record(1, "1 CHAN", $gedrec));
+ $event = new WT_Event(get_sub_record(1, "1 CHAN", $gedrec), null, 0);
echo format_fact_date($event, false, true);
echo "</td></tr>";
}