@@ 327-330 (lines=4) @@ | ||
324 | $success = true; |
|
325 | } |
|
326 | ||
327 | if ( $this->_total_update_errors > 0 ) { |
|
328 | EE_Error::add_error(sprintf(__("'One or more errors occurred, and a total of %s existing records in the database were <strong>not</strong> updated.'", "event_espresso"),$this->_total_update_errors), __FILE__, __FUNCTION__, __LINE__ ); |
|
329 | $error = true; |
|
330 | } |
|
331 | if ( $this->_total_insert_errors > 0 ) { |
|
332 | EE_Error::add_error(sprintf(__("One or more errors occurred, and a total of %s new records were <strong>not</strong> added to the database.'", "event_espresso"),$this->_total_insert_errors), __FILE__, __FUNCTION__, __LINE__ ); |
|
333 | $error = true; |
|
@@ 331-334 (lines=4) @@ | ||
328 | EE_Error::add_error(sprintf(__("'One or more errors occurred, and a total of %s existing records in the database were <strong>not</strong> updated.'", "event_espresso"),$this->_total_update_errors), __FILE__, __FUNCTION__, __LINE__ ); |
|
329 | $error = true; |
|
330 | } |
|
331 | if ( $this->_total_insert_errors > 0 ) { |
|
332 | EE_Error::add_error(sprintf(__("One or more errors occurred, and a total of %s new records were <strong>not</strong> added to the database.'", "event_espresso"),$this->_total_insert_errors), __FILE__, __FUNCTION__, __LINE__ ); |
|
333 | $error = true; |
|
334 | } |
|
335 | ||
336 | //lastly, we need to update the datetime and ticket sold amounts |
|
337 | //as those may ahve been affected by this |