From: Martin Helmling martin.helmling@octosoft.eu Date: Wed, 31 Aug 2016 09:59:06 +0000 (+0200) Subject: BUG_FIX Userpreferences X-Git-Tag: release-3.5.4~2114 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cd4d2dad10368908e5fd25f699df82973370794c;p=kivitendo-erp.git BUG_FIX Userpreferences Falls keine Id vorhanden muss ein insert gemacht werden --- diff --git a/SL/Helper/UserPreferences.pm b/SL/Helper/UserPreferences.pm index 1fea9e7f4..f6a6d4d43 100644 --- a/SL/Helper/UserPreferences.pm +++ b/SL/Helper/UserPreferences.pm @@ -15,7 +15,7 @@ sub store { my $tuple = $self->get_tuple($key); - if ($tuple) { + if ($tuple && $tuple->{id}) { $tuple->{value} = $value; $self->_update($tuple); } else {