Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /ForgeTracker/forgetracker/model/ticket.py [d23a6c] .. [9b4158] Maximize Restore

  Switch to side-by-side view

--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -51,7 +51,7 @@
             update={'$inc': { 'last_ticket_num': 1}},
             new=True)
         session(cls).expunge(g)
-        return g.last_ticket_num+1
+        return g.last_ticket_num
 
     @property
     def all_status_names(self):