BUG 10407: Al ingresar al Case Tracker se evidencia que en el... SOLVED

- The format date incorrect.
- was add validation for value '-'.
This commit is contained in:
Marco Antonio Nina
2013-01-17 16:52:50 -04:00
parent 0b5d84a807
commit 3cd7a5e440

View File

@@ -440,7 +440,11 @@ class propelTable
$this->xmlForm->setValues( $result );
//var_dump($fieldName, $fieldClass );echo '<br /><br />';
if (array_search( 'renderTable', get_class_methods( $fieldClass ) ) !== false) {
$htmlField = $this->xmlForm->fields[$fieldName]->renderTable( $value, $this->xmlForm, true );
if ($value == '-') {
$htmlField = $value;
} else {
$htmlField = $this->xmlForm->fields[$fieldName]->renderTable( $value, $this->xmlForm, true );
}
if (is_object( $value )) {
$value = '';
}