mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 04:39:01 +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 $label;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value;
|
return parent::Value();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user