Merged in cochalo/processmaker (pull request #204)

Arreglo en update
This commit is contained in:
erik ao
2014-02-17 16:57:32 -04:00

View File

@@ -526,8 +526,11 @@ class Table
$dataValidate['rep_tab_dsc'] = $tab_data['rep_tab_dsc']; $dataValidate['rep_tab_dsc'] = $tab_data['rep_tab_dsc'];
$dataValidate['rep_tab_connection'] = $row['DBS_UID']; $dataValidate['rep_tab_connection'] = $row['DBS_UID'];
$dataValidate['rep_tab_type'] = $row['ADD_TAB_TYPE']; $dataValidate['rep_tab_type'] = $row['ADD_TAB_TYPE'];
list($gridName, $gridId) = explode( '-', $row['ADD_TAB_GRID'] ); $dataValidate['rep_tab_grid'] = '';
$dataValidate['rep_tab_grid'] = $gridId; if (strpos($row['ADD_TAB_GRID'], '-')) {
list($gridName, $gridId) = explode( '-', $row['ADD_TAB_GRID'] );
$dataValidate['rep_tab_grid'] = $gridId;
}
} else { } else {
$dataValidate['pmt_uid'] = $tab_uid; $dataValidate['pmt_uid'] = $tab_uid;
$dataValidate['pmt_tab_name'] = $row['ADD_TAB_NAME']; $dataValidate['pmt_tab_name'] = $row['ADD_TAB_NAME'];