Skip to content
This repository was archived by the owner on Jun 1, 2021. It is now read-only.

Commit 9017980

Browse files
author
Leonardo Pedretti
committed
Fixed notice when the custom field comes with no value from prosperworks
1 parent 3fe5abc commit 9017980

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/SubResources/CustomField.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ public function getValue() {
123123
}
124124
return $values;
125125
}
126-
return $this->options[$this->value];
126+
127+
if (!empty($this->value)) {
128+
return $this->options[$this->value];
129+
} else
130+
return false;
127131
} else {
128132
return $this->value;
129133
}

0 commit comments

Comments
 (0)