mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
#1515 - Notice: Undefined variable: mappedValue
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43932 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
20e79f33be
commit
a7a31335e2
@ -12,7 +12,7 @@ class LookupField extends DropdownField {
|
||||
else $mappedValue = $this->source->getItem($this->value);
|
||||
}
|
||||
|
||||
if(!$mappedValue)
|
||||
if(!isset($mappedValue))
|
||||
$mappedValue = "<i>(none)</i>";
|
||||
|
||||
if($this->value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user