Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions includes/utilities.inc
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,11 @@ function islandora_datastream_crud_parse_dsfilename($filepath) {
return FALSE;
}

if ($filename_separator !== '_') {
list($pid, $dsid) = explode($filename_separator, $filename);
return array($pid, $dsid);
}

// The default case is namesapce_number_DSID.
if (substr_count($filename, '_') == 2) {
list($namespace, $number, $dsid) = explode('_', $filename);
Expand Down