mirror of
https://github.com/processwire/processwire.git
synced 2025-08-07 15:26:54 +02:00
Fix issue processwire/processwire-issues#1097
This commit is contained in:
@@ -528,7 +528,7 @@ class SelectableOptionManager extends Wire {
|
||||
foreach($existingOptions as $existingOption) {
|
||||
$found = false;
|
||||
foreach($options as $option) {
|
||||
if($option->id == $existingOption->id) {
|
||||
if($option->id == $existingOption->id || $existingOption->id && !$option->id) {
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user