mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Correct implementation of single lookup field when valueToLabel returns null
This commit is contained in:
parent
88d78dfd95
commit
af46381dca
@ -94,7 +94,7 @@ class SingleLookupField extends SingleSelectField
|
||||
return $label;
|
||||
}
|
||||
|
||||
return $value;
|
||||
return parent::Value();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user