From 217da652c331f5b29534710eb96da30837588840 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 26 Sep 2010 00:02:42 +0200 Subject: [PATCH] bweb: fix expired button in media view --- gui/bweb/lib/Bweb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 62aa771550..97a29f2da3 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2606,7 +2606,7 @@ sub display_media } if ($arg->{expired}) { $where = " - AND VolStatus = ('Full', 'Used') + AND VolStatus IN ('Full', 'Used') AND ( $self->{sql}->{UNIX_TIMESTAMP}(Media.LastWritten) + $self->{sql}->{TO_SEC}(Media.VolRetention) ) < $self->{sql}->{NOW} " . $where ; -- 2.39.5