--- cgi_client.py Mon Jul 1 21:07:09 2002 +++ cgi_client-orig.py Mon Jul 1 20:55:29 2002 @@ -1133,7 +1133,7 @@ # make sure the user exists try: uid = self.db.user.lookup(user) - # now the validate password + # now validate the password if password != self.db.user.get(uid, 'password'): user = 'anonymous' except KeyError: @@ -1338,13 +1338,10 @@ 'value': value, 'classname': link} elif isinstance(proptype, hyperdb.Multilink): value = form[key] - if hasattr(value,'value'): - ## Quite likely to be a FormItem instance - value = value.value - if not isinstance(value, type([])): - value = [i.strip() for i in value.split(',')] + if type(value) != type([]): + value = [i.strip() for i in value.value.split(',')] else: - value = [i.strip() for i in value] + value = [i.value.strip() for i in value] link = cl.properties[key].classname l = [] for entry in map(str, value):