From cc1e4138fd5fc8297ae051fe8fdcc40a04a893a6 Mon Sep 17 00:00:00 2001 From: jonathangreen Date: Tue, 6 Aug 2013 12:05:13 -0300 Subject: [PATCH] Fixed bug in audio/video solution pack We were implicitly passing the extra datastream version paramerter in the islandora video solution pack because we were going to the url: islandora/object/pid/datastream/MP3/view/name.mp3 and because the datastream view fucntion now took an extra parameter this was getting implicitly passed on. So we would try to download version name.mp3. This makes sure that it won't happen. --- islandora.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/islandora.module b/islandora.module index 8a8ee6be..9f1532c1 100644 --- a/islandora.module +++ b/islandora.module @@ -189,7 +189,7 @@ function islandora_menu() { $items['islandora/object/%islandora_object/datastream/%islandora_datastream'] = array( 'title' => 'View datastream', 'page callback' => 'islandora_view_datastream', - 'page arguments' => array(4, FALSE), + 'page arguments' => array(4, FALSE, NULL), 'type' => MENU_CALLBACK, 'file' => 'includes/datastream.inc', 'access callback' => 'islandora_datastream_access',