mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix check for value in value set
This commit is contained in:
parent
d3913318f5
commit
4e883444f2
|
@ -90,8 +90,8 @@ $(document).ready( function() {
|
|||
$content .= "<td>";
|
||||
/* Check if value is in value set */
|
||||
if($selattrdef->getValueSet()) {
|
||||
foreach($values as $v) {
|
||||
if(!in_array($value, $selattrdef->getValueSetAsArray()))
|
||||
foreach($value as $v) {
|
||||
if(!in_array($v, $selattrdef->getValueSetAsArray()))
|
||||
$content .= getMLText("attribute_value_not_in_valueset");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user