From ef6313b1c977b923230fcde24e8b19554f42b19b Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Mon, 10 Dec 2018 22:47:45 +0100 Subject: [PATCH] Fix bad returned value in Conf/Backends/MongoDB.pm --- .../lib/Lemonldap/NG/Common/Conf/Backends/MongoDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/MongoDB.pm b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/MongoDB.pm index 8d568a2b5..ba32a3116 100644 --- a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/MongoDB.pm +++ b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/MongoDB.pm @@ -80,7 +80,7 @@ sub store { $Lemonldap::NG::Common::Conf::msg .= "Unable to store conf: $@\n"; return 0; } - return $res; + return $fields->{cfgNum}; } sub load {