X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/06e79bf0f4ad9d5499f4435d2158d8a064034a8f..5d711a25d9257690164f396b25f57095776790d6:/SL/DB/Part.pm diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index 5ea3b2698..21240a64a 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 { @@ -176,7 +176,6 @@ sub orphaned { SL::DB::OrderItem SL::DB::DeliveryOrderItem SL::DB::Inventory - SL::DB::Assembly SL::DB::AssortmentItem );