Skip to content
Snippets Groups Projects
Commit 7fe907b3 authored by Sebastian Böttger's avatar Sebastian Böttger Committed by GitHub
Browse files

Update Subfield.php

Allow subfield code  '#'.
parent a631115c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class Subfield
*
* @var string
*/
public static $validSubfieldCodePattern = '/^[a-z0-9]$/Di';
public static $validSubfieldCodePattern = '/^[a-z0-9#]$/Di';
/**
* Return true if argument is a valid subfield code.
......@@ -149,4 +149,4 @@ class Subfield
{
return $this->getValue();
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment