GX-Bug #50174 » CSVExportSpecialPeriodFix.patch
src/system/classes/csv/CSVFunctionLibrary.inc.php (revision ) | ||
---|---|---|
1037 | 1037 |
if( (isset($p_data_array['specials_id']) && !empty($p_data_array['specials_id']) ) && ( isset( $p_data_array['status']) && $p_data_array['status'] == 1) ) |
1038 | 1038 |
{ |
1039 | 1039 |
$t_start_timestamp = strtotime($p_data_array['specials_date_added']); |
1040 |
|
|
1040 |
|
|
1041 |
if(isset($p_data_array['specials_last_modified']) && !empty($p_data_array['specials_last_modified'])) |
|
1041 |
if(isset($p_data_array['specials_last_modified']) && !empty($p_data_array['specials_last_modified']) && $p_data_array['specials_last_modified'] !== '0000-00-00 00:00:00') |
|
1042 | 1042 |
{ |
1043 | 1043 |
$t_start_timestamp = strtotime($p_data_array['specials_last_modified']); |
1044 | 1044 |
} |