calendar merge: only export events that will not break the importer. this will probably dismiss some old experimental entries
This commit is contained in:
		| @@ -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