|
@@ -90,7 +90,12 @@ if($nb_sessions > 0)
|
|
|
$row = array();
|
|
|
$row[] = $session['name'];
|
|
|
$row[] = $session['status'];
|
|
|
- $row[] = get_lang('From').' '.format_locale_date(get_lang('DateFormatLongWithoutDay'),strtotime($session['date_start'])).' '.get_lang('To').' '.format_locale_date(get_lang('DateFormatLongWithoutDay'),strtotime($session['date_end']));
|
|
|
+ if($session['date_start']!='0000-00-00' && $session['date_end']!='0000-00-00'){
|
|
|
+ $row[] = get_lang('From').' '.format_locale_date(get_lang('DateFormatLongWithoutDay'),strtotime($session['date_start'])).' '.get_lang('To').' '.format_locale_date(get_lang('DateFormatLongWithoutDay'),strtotime($session['date_end']));
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ $row[] = ' - ';
|
|
|
+ }
|
|
|
if($export_csv)
|
|
|
{
|
|
|
$csv_content[] = $row;
|