validateAttributeValue always has to return true.
pull/61/head
noud 2012-09-24 08:27:22 +02:00
parent 94a3c4735c
commit 7129bb18a3
1 changed files with 4 additions and 1 deletions

View File

@ -412,7 +412,7 @@ IF (Attribute.category="External analysis", "j", "k"))))))))))'); // TODO hardc
return false;
}
public function validateAttributeValue ($fields) {
public function validateAttributeValue($fields) {
$value = $fields['value'];
$returnValue = false;
@ -564,6 +564,9 @@ IF (Attribute.category="External analysis", "j", "k"))))))))))'); // TODO hardc
}
// default action is to return false
if (!$returnValue) {
$returnValue = true;
}
return $returnValue;
}