Changeset 793

Show
Ignore:
Timestamp:
01/21/10 23:21:46 (15 years ago)
Author:
smidl
Message:

fix in user info

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/user_info.h

    r789 r793  
    543543        //! A root descendant instance is stored in the new child Setting appended to the passed element 
    544544        template< class T> static void save ( const T * const instance, Setting &element, const string &name = "" ) { 
    545                 Setting &set = ( name == "" ) ?  (element.getType()==Setting::TypeArray) ? element.add ( Setting::TypeGroup ) : element  
     545                Setting &set = ( name == "" ) ?  (element.getType()==Setting::TypeArray || element.getType()==Setting::TypeList) ? element.add ( Setting::TypeGroup ) : element  
    546546                               : element.add ( name, Setting::TypeGroup ); 
    547547