Index: kontact/plugins/korganizer/todosummarywidget.cpp
===================================================================
--- kontact/plugins/korganizer/todosummarywidget.cpp	(wersja 795474)
+++ kontact/plugins/korganizer/todosummarywidget.cpp	(kopia robocza)
@@ -124,6 +124,8 @@
 
   Q_FOREACH ( KCal::Todo *todo, mCalendar->todos() ) {
     if ( todo->hasDueDate() ) {
+      if ( !todo->dtDue().date().isValid() )
+        continue;
       int daysTo = QDate::currentDate().daysTo( todo->dtDue().date() );
       if ( daysTo >= mDaysToGo )
         continue;
