mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
fix check whether value is in value set
This commit is contained in:
parent
9ab19afe03
commit
b60e5a9d97
|
@ -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