aqhome-cgi: fixed ids of created roles (now start with 1).

This commit is contained in:
Martin Preuss
2026-04-18 16:15:42 +02:00
parent e5f9be1bff
commit cc3c9dbd57
5 changed files with 10 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ void _createPermDefList(AQH_MODULE *m)
void _createRoleList(AQH_MODULE *m)
{
AQH_ROLE_LIST *roleList;
int id=0;
int id=1;
roleList=AQH_Role_List_new();
AQH_ModService_AddRole(roleList, id++, "admin",