|
|
|
@ -3670,13 +3670,13 @@ class MySpace |
|
|
|
|
|
|
|
|
|
|
|
// Settings condition and parametter GET to right date |
|
|
|
// Settings condition and parametter GET to right date |
|
|
|
if (!empty($startDate)) { |
|
|
|
if (!empty($startDate)) { |
|
|
|
$startDate = api_get_utc_datetime($startDate->setTime(0,0,0)->format('Y-m-d')); |
|
|
|
$startDate = api_get_utc_datetime($startDate->setTime(0,0,0)->format('Y-m-d H:i:s')); |
|
|
|
$_GET['startDate'] = $startDate; |
|
|
|
$_GET['startDate'] = $startDate; |
|
|
|
$whereCondition .= " |
|
|
|
$whereCondition .= " |
|
|
|
AND $tblItemProperty.lastedit_date >= '$startDate' "; |
|
|
|
AND $tblItemProperty.lastedit_date >= '$startDate' "; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!empty($endDate)) { |
|
|
|
if (!empty($endDate)) { |
|
|
|
$endDate = api_get_utc_datetime($endDate->setTime(23,59,59)->format('Y-m-d')); |
|
|
|
$endDate = api_get_utc_datetime($endDate->setTime(23,59,59)->format('Y-m-d H:i:s')); |
|
|
|
$_GET['endDate'] = $endDate; |
|
|
|
$_GET['endDate'] = $endDate; |
|
|
|
$whereCondition .= " |
|
|
|
$whereCondition .= " |
|
|
|
AND $tblItemProperty.lastedit_date <= '$endDate' "; |
|
|
|
AND $tblItemProperty.lastedit_date <= '$endDate' "; |
|
|
|
|