calendar merge: only export events that will not break the importer. this will probably dismiss some old experimental entries
This commit is contained in:
parent
3c8867a1e8
commit
8be0031602
@ -335,8 +335,9 @@ class Channel_calendar extends \Zotlabs\Web\Controller {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif($export) {
|
elseif($export) {
|
||||||
$r = q("SELECT * from event where uid = %d",
|
$r = q("SELECT * from event where uid = %d and dtstart > '%s' and dtend > dtstart",
|
||||||
intval(local_channel())
|
intval(local_channel()),
|
||||||
|
dbesc(NULL_DATE)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user