From fbf88a33ea861370be521a5fcf65de1a3df5fcbc Mon Sep 17 00:00:00 2001 From: "kenneth@hexad.dk" Date: Tue, 20 Mar 2012 19:44:41 +0000 Subject: [PATCH] Fixed a minor reporting problem with the full backup reason git-svn-id: https://duplicati.googlecode.com/svn/trunk@1169 59da171f-624f-0410-aa54-27559c288bec --- Duplicati/Library/Main/Interface.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Main/Interface.cs b/Duplicati/Library/Main/Interface.cs index fd330c59d..f9fb5f5ab 100644 --- a/Duplicati/Library/Main/Interface.cs +++ b/Duplicati/Library/Main/Interface.cs @@ -412,7 +412,7 @@ namespace Duplicati.Library.Main full = DateTime.Now > m_options.FullIfOlderThan(backupsets[backupsets.Count - 1].Time); if (full) bs.SetTypeReason(string.Format(Strings.Interface.FullBecauseLastFullIsFrom, backupsets[backupsets.Count - 1].Time, m_options.FullIfOlderThanValue)); - else + else if (!string.IsNullOrEmpty(m_options.FullIfOlderThanValue)) fullCriteria1 = string.Format(Strings.Interface.IncrementalBecauseLastFullIsFrom, backupsets[backupsets.Count - 1].Time, m_options.FullIfOlderThanValue); }