Changeset 138 for trunk/Modules/System/UModuleSystem.pas
- Timestamp:
- Sep 9, 2022, 8:20:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/System/UModuleSystem.pas
r137 r138 4 4 5 5 uses 6 Classes, SysUtils, UModularSystem, SpecializedDictionary;6 Classes, SysUtils, UModularSystem, UGenerics; 7 7 8 8 type … … 75 75 for I := 0 to DbRows.Count - 1 do 76 76 with DbRows[I] do begin 77 Module := Manager.FindModuleByName( Values['Name']);77 Module := Manager.FindModuleByName(Items['Name']); 78 78 if Assigned(Module) then 79 if Values['Installed'] = '1' then Module.SetInstalledState(True)79 if Items['Installed'] = '1' then Module.SetInstalledState(True) 80 80 else Module.SetInstalledState(False); 81 81 end; … … 165 165 166 166 Index := 0; 167 while (Index < DbRows.Count) and (DbRows[Index]. Values['Name'] <> Identification) do Inc(Index);167 while (Index < DbRows.Count) and (DbRows[Index].Items['Name'] <> Identification) do Inc(Index); 168 168 if Index >= DbRows.Count then Core.CommonDatabase.Insert('SystemModule', Data) 169 169 else Core.CommonDatabase.Update('SystemModule', Data, 'Name="' + Identification + '"');
Note:
See TracChangeset
for help on using the changeset viewer.