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):

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks