Changeset 4785

Show
Ignore:
Timestamp:
11/13/08 05:31:24 (2 months ago)
Author:
martin_s
Message:
tracattachmentnum/attachmentnum.py
Fixed bug in ticket ID.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • attachmentnummacro/0.11/tracattachmentnum/attachmentnum.py

    r4778 r4785  
    3535                raw = False 
    3636 
    37         id = get_resource_name(self.env, formatter.resource) 
    38         type = formatter.resource.realm 
     37        res  = formatter.resource 
     38        id   = res.id 
     39        type = res.realm 
    3940 
    4041        db = self.env.get_db_cnx()