~alexlauni/do-plugins/jolicloud

« back to all changes in this revision

Viewing changes to RememberTheMilk/src/RTM.cs

  • Committer: Alex Launi
  • Date: 2009-06-26 08:51:52 UTC
  • mfrom: (618.1.23 do-plugins)
  • Revision ID: alex.launi@gmail.com-20090626085152-5eodwwbsdeahb11o
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
                                                        }
424
424
                                                }
425
425
                                                
426
 
                                                if (rtmList.TaskSeriesCollection.Any ()) {
 
426
                                                if (rtmList.TaskSeriesCollection != null) {
427
427
                                                        foreach (TaskSeries rtmTaskSeries in rtmList.TaskSeriesCollection) {
428
428
                                                                foreach (Task rtmTask in rtmTaskSeries.TaskCollection)
429
429
                                                                        TryRemoveTask (rtmTask.TaskID);
434
434
                                
435
435
                                // add changed tasks from the list with filter used.
436
436
                                foreach (List rtmList in rtmTasks.ListCollection) {
437
 
                                        if (rtmList.TaskSeriesCollection.Any ()) {
 
437
                                        if (rtmList.TaskSeriesCollection != null) {
438
438
                                                foreach (TaskSeries rtmTaskSeries in rtmList.TaskSeriesCollection) {
439
439
                                                        foreach (Task rtmTask in rtmTaskSeries.TaskCollection) {
440
440
                                                                // delete one recurrent task will cause other deleted instances