add NULL_DATE & coding standard work
parent
0060e2449e
commit
0879b46125
|
@ -940,5 +940,4 @@ function widget_events() {
|
||||||
'$export_csv' => t("Export calendar as csv"),
|
'$export_csv' => t("Export calendar as csv"),
|
||||||
'$user' => $user
|
'$user' => $user
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,8 +53,8 @@ function events_post(App $a) {
|
||||||
// The default setting for the `private` field in event_store() is false, so mirror that
|
// The default setting for the `private` field in event_store() is false, so mirror that
|
||||||
$private_event = false;
|
$private_event = false;
|
||||||
|
|
||||||
$start = '0000-00-00 00:00:00';
|
$start = NULL_DATE;
|
||||||
$finish = '0000-00-00 00:00:00';
|
$finish = NULL_DATE;
|
||||||
|
|
||||||
if ($start_text) {
|
if ($start_text) {
|
||||||
$start = $start_text;
|
$start = $start_text;
|
||||||
|
|
Loading…
Reference in New Issue