diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-02-08 09:58:00 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-08 10:03:39 +0100 |
commit | e3a9814167cca4926aa255f5020b19e808b9acfa (patch) | |
tree | 665292960fd504144d1549691bec693173d38fa8 /src | |
parent | 16ca353576d32903252fc7470c2f37d3e1d324df (diff) |
rest: room in folder can't be updated
change code to make possible to update rooms that are inside folders
Diffstat (limited to 'src')
-rw-r--r-- | src/dbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ int og_dbi_get_room_info(struct og_dbi *dbi, struct og_room *room, result = dbi_conn_queryf(dbi->conn, "SELECT nombreaula, router, netmask " - "FROM aulas WHERE idaula=%d AND grupoid=0", + "FROM aulas WHERE idaula=%d", room_id); if (!result) { dbi_conn_error(dbi->conn, &msglog); |