# HG changeset patch # User Mike Becker # Date 1638636214 -3600 # Node ID 28052f3b9cf9e0188267cc80fe0e886f0bcd1a0f # Parent a1c2611b02fcfb0993bf8d982442a411ca79aa12 fixes bug in parameter index diff -r a1c2611b02fc -r 28052f3b9cf9 src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt --- a/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt Sat Nov 27 13:05:22 2021 +0100 +++ b/src/main/kotlin/de/uapcore/lightpit/dao/PostgresDataAccessObject.kt Sat Dec 04 17:43:34 2021 +0100 @@ -684,7 +684,7 @@ val eventid = withStatement("insert into lpit_issue_history_event(issueid, subject, type) values (?,?,?::issue_history_event) returning eventid") { setInt(1, issueComment.issueid) - setString(1, issue.subject) + setString(2, issue.subject) setEnum(3, type) querySingle { it.getInt(1) }!! }