mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
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