id is not empty string check
This commit is contained in:
@@ -205,6 +205,10 @@ class LinkMultipleSaver
|
||||
if (!is_string($id)) {
|
||||
throw new RuntimeException("Non-string ID in link-multiple.");
|
||||
}
|
||||
|
||||
if ($id === '') {
|
||||
throw new RuntimeException("An entity ID value in link-multiple.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user