SL::DB::Part: precedence Fehler
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 23 Nov 2016 09:15:53 +0000 (10:15 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 23 Nov 2016 09:15:53 +0000 (10:15 +0100)
SL/DB/Part.pm

index 5ea3b26..a2c3a73 100644 (file)
@@ -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 {