From b36fb0f412d2d2b43b8d98d787743cbe1fbf2540 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 25 Apr 2022 16:42:56 +0200 Subject: [PATCH] mini-DMS: Filesystem-Backend: undef-Warnung vermeiden --- SL/File/Backend/Filesystem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/File/Backend/Filesystem.pm b/SL/File/Backend/Filesystem.pm index 51e00200d..758142bf3 100644 --- a/SL/File/Backend/Filesystem.pm +++ b/SL/File/Backend/Filesystem.pm @@ -98,7 +98,7 @@ sub save { sub get_version_count { my ($self, %params) = @_; die "no dbfile" unless $params{dbfile}; - return $params{dbfile}->backend_data * 1; + return $params{dbfile}->backend_data//0 * 1; } sub get_mtime { -- 2.20.1