aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DatabasePrint.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx
index 843d218cb..d22d4db8a 100644
--- a/src/DatabasePrint.cxx
+++ b/src/DatabasePrint.cxx
@@ -106,7 +106,8 @@ PrintPlaylistFull(struct client *client,
{
print_playlist_in_directory(client, directory, playlist.name);
- time_print(client, "Last-Modified", playlist.mtime);
+ if (playlist.mtime > 0)
+ time_print(client, "Last-Modified", playlist.mtime);
return true;
}