Add double quotes around invalid ID in error message given in
MDNodaLink
This commit is contained in:
parent
8090b95f49
commit
17f1e162f8
|
@ -26,7 +26,7 @@ final class MDNodaLink {
|
|||
|
||||
$this->source = $source;
|
||||
if (($validatedId = $this->source->validateId(trim($id))) === false) {
|
||||
throw new MDInvalidNodaLink("Invalid noda ID / link: " . $id . " [Repository: " . $this->source->toDbName() . "]");
|
||||
throw new MDInvalidNodaLink("Invalid noda ID / link: \"" . $id . "\" [Repository: " . $this->source->toDbName() . "]");
|
||||
}
|
||||
$this->id = $validatedId;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user