mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 16:04:52 +09:00
In getTicketR, if author is local, make sure a TicketUnderProject exists
This commit is contained in:
parent
32173fe0c0
commit
c03dacdb11
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ getTicketR shar proj ltkhid = do
|
|||
requireEitherAlt
|
||||
(do mtal <- getValBy $ UniqueTicketAuthorLocal ltid
|
||||
for mtal $ \ tal -> do
|
||||
_ <- getBy404 $ UniqueTicketUnderProjectProject tplid
|
||||
p <- getJust $ ticketAuthorLocalAuthor tal
|
||||
getJust $ personIdent p
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue