mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 06:31:21 +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>";
|
$content .= "<td>";
|
||||||
/* Check if value is in value set */
|
/* Check if value is in value set */
|
||||||
if($selattrdef->getValueSet()) {
|
if($selattrdef->getValueSet()) {
|
||||||
foreach($values as $v) {
|
foreach($value as $v) {
|
||||||
if(!in_array($value, $selattrdef->getValueSetAsArray()))
|
if(!in_array($v, $selattrdef->getValueSetAsArray()))
|
||||||
$content .= getMLText("attribute_value_not_in_valueset");
|
$content .= getMLText("attribute_value_not_in_valueset");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user