From 67ad549c69391a69b48b13e220f34c8e29162b0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 23 Nov 2016 10:15:53 +0100 Subject: [PATCH] SL::DB::Part: precedence Fehler --- SL/DB/Part.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index 5ea3b2698..a2c3a7339 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -162,7 +162,7 @@ sub new_assortment { sub last_modification { my ($self) = @_; - return $self->mtime or $self->itime; + return $self->mtime // $self->itime; }; sub orphaned { -- 2.20.1