Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 0f57a4d

Browse files
committed
webui: Fix updating of discussions
This was broken by commit 95aaa4d.
1 parent f2ce88e commit 0f57a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/postgresql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4723,7 +4723,7 @@ func UpdateDiscussion(dbOwner, dbName, loggedInUser string, discID int, newTitle
47234723
AND db_name = $2
47244724
)
47254725
UPDATE discussions AS disc
4726-
SET title = $4, description = $6, last_modified = now()
4726+
SET title = $4, description = $5, last_modified = now()
47274727
WHERE disc.db_id = (SELECT db_id FROM d)
47284728
AND disc.disc_id = $3`
47294729
commandTag, err := tx.Exec(dbQuery, dbOwner, dbName, discID, newTitle, newText)

0 commit comments

Comments
 (0)