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