mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 15:54:51 +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
|
requireEitherAlt
|
||||||
(do mtal <- getValBy $ UniqueTicketAuthorLocal ltid
|
(do mtal <- getValBy $ UniqueTicketAuthorLocal ltid
|
||||||
for mtal $ \ tal -> do
|
for mtal $ \ tal -> do
|
||||||
|
_ <- getBy404 $ UniqueTicketUnderProjectProject tplid
|
||||||
p <- getJust $ ticketAuthorLocalAuthor tal
|
p <- getJust $ ticketAuthorLocalAuthor tal
|
||||||
getJust $ personIdent p
|
getJust $ personIdent p
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue