Don't cache history entry from last contact.
authorJan Schneider <jan@horde.org>
Mon, 23 Aug 2010 12:42:56 +0000 (14:42 +0200)
committerJan Schneider <jan@horde.org>
Mon, 23 Aug 2010 12:42:56 +0000 (14:42 +0200)
turba/lib/View/Duplicates.php

index e2d00a7..23f2100 100644 (file)
@@ -99,6 +99,8 @@ class Turba_View_Duplicates
                     $view->changed = $history['modified'];
                 } elseif (isset($history['created'])) {
                     $view->changed = $history['created'];
+                } else {
+                    unset($view->changed);
                 }
                 echo $view->render('contact_header');
                 $contactView = new Turba_Form_Contact($vars, $contact, false);