diff options
-rw-r--r-- | pg.pgc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ void pg_user_set(int channel, struct user_t *user) { int lines = user->lines[ti], index = ti; EXEC SQL END DECLARE SECTION; - EXEC SQL UPDATE users SET lines = :lines WHERE user_id = :id AND time_index = :index; + EXEC SQL UPDATE user_hours SET lines = :lines WHERE user_id = :id AND time_index = :index; } } else { EXEC SQL INSERT INTO users |