Browse Source

revert two blank line insertions

dsenalik 4 years ago
parent
commit
66940dd623

BIN
tripal_bulk_loader/includes/.tripal_bulk_loader.loader.inc.swp


+ 0 - 2
tripal_bulk_loader/includes/tripal_bulk_loader.loader.inc

@@ -539,12 +539,10 @@ function process_data_array_for_line($priority, &$data, &$default_data, $addt) {
   // an error
   $skip_optional = 0;
   foreach ($table_data['required'] as $field => $required) {
-
     if ($required) {
       // check if the field has no value (or array is empty)
       if (!isset($values[$field]) or
         (is_array($values[$field]) and count($values[$field]) == 0)) {
-
         // check if the record is optional.  For backwards compatiblity we need to
         // check if the 'mode' is set to 'optional'
         if ($table_data['optional'] or preg_match('/optional/', $table_data['mode']) or