SL::DB::Part: precedence Fehler
[kivitendo-erp.git] / 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 {