summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan.korn2018-08-17 21:45:33 (GMT)
committerJoseph Olstad2018-08-17 21:45:56 (GMT)
commit6436b05604194abb1f26b4ea16494477cb8eccfb (patch)
tree57cfcd7701c04e772633567adc7954d49df381a5
parentc4c341ca7e216ec49db8c16ed5bef482d9fa8461 (diff)
Issue #2989470 by stefan.korn: Disable Option "Keep original filename" in Media Bulk Upload
-rw-r--r--modules/media_bulk_upload/includes/media_bulk_upload.pages.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/media_bulk_upload/includes/media_bulk_upload.pages.inc b/modules/media_bulk_upload/includes/media_bulk_upload.pages.inc
index 41287eb..f595dc6 100644
--- a/modules/media_bulk_upload/includes/media_bulk_upload.pages.inc
+++ b/modules/media_bulk_upload/includes/media_bulk_upload.pages.inc
@@ -38,6 +38,7 @@ function media_bulk_upload_file_page_edit_multiple($files) {
// Remove the 'replace file' functionality.
$form['multiform'][$key]['replace_upload']['#access'] = FALSE;
+ $form['multiform'][$key]['replace_keep_original_filename']['#access'] = FALSE;
// Remove any actions.
$form['multiform'][$key]['actions']['#access'] = FALSE;