|
@@ -1745,7 +1745,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
|
{
|
|
|
if ($this->subject === null && $this->request) {
|
|
|
$id = $this->request->get($this->getIdParameter());
|
|
|
- if (!preg_match('#^[0-9A-Fa-f]+$#', $id)) {
|
|
|
+ if (!preg_match('#^[0-9A-Fa-f\-]+$#', $id)) {
|
|
|
$this->subject = false;
|
|
|
} else {
|
|
|
$this->subject = $this->getModelManager()->find($this->class, $id);
|