Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 86a7d07

Browse files
committed
[FIX] 001 delimiter cannot be semicolon, changed to period
1 parent e60e41f commit 86a7d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/class.adjust_xml.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Class to adjust the XML file
44
*
55
* @author Jared Howland <[email protected]>
6-
* @version 2014-02-02
6+
* @version 2014-02-25
77
* @since 2013-10-08
88
*
99
*/
@@ -69,7 +69,7 @@ private function add_001($xml_str, $resource_id) {
6969
function($match) use ($resource_id){
7070
static $id = 0;
7171
$id++;
72-
return '<marc:record><marc:leader>' . $match[1] . '</marc:leader>' . "\n" . '<marc:controlfield tag="001">' . $resource_id . ':' . $id . '</marc:controlfield>';
72+
return '<marc:record><marc:leader>' . $match[1] . '</marc:leader>' . "\n" . '<marc:controlfield tag="001">' . $resource_id . '.' . $id . '</marc:controlfield>';
7373
},
7474
$xml_str);
7575
}

0 commit comments

Comments
 (0)