From 058958ff897836a232bb41d870bc372d257499f9 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 10 Nov 2008 17:07:41 -0500 Subject: Fix appending to a multi-valued field. There was a bug where only the first value of a multi-valued field would be returned. --- ipa-admintools/ipa-moduser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipa-admintools/ipa-moduser b/ipa-admintools/ipa-moduser index 5f0bc6af6..ec483a5d9 100644 --- a/ipa-admintools/ipa-moduser +++ b/ipa-admintools/ipa-moduser @@ -204,7 +204,7 @@ def main(): set_add_usage("add") sys.exit(1) (attr,value) = a - cvalue = user.getValue(attr) + cvalue = user.getValues(attr) if cvalue: if isinstance(cvalue,str): cvalue = [cvalue] -- cgit