Commits

Alex Willmer committed 4dc7ce5

Don't reverse map unidorectional links in TicketSystem

Comments (0)

Files changed (1)

trac/ticket/api.py

         for controller in self.link_controllers:
             for end1, end2 in controller.get_ends():
                 self.link_ends_map[end1] = end2
-                self.link_ends_map[end2] = end1
+                if end2 is not None:
+                    self.link_ends_map[end2] = end1
         
 
     # Public API