Closed (fixed)
Project:
Workflow
Version:
5.x-1.0-beta1
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2007 at 05:58 UTC
Updated:
10 Mar 2007 at 21:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
panchoAlso, the arrows are not always in line (see attached screenshot).
Comment #2
panchoSorry, wrong pic...
Comment #3
panchoOkay, here's a patch for the function workflow_permissions. I completely rewrote the whole function, because it was unnecessarily long and complicated.
I reduced everything to only one database query and one structured array.
The table is now correctly sorted in every respect.
As initially intended by the authors, a header is now also shown for roles that have no permissions.
A missing t() was included for 'author'.
Everything works fine and has been extensively tested by me. As the function is only called on this one page, side-effects are not expected. I therefore set this issue to RTBC.
Comment #4
mfredrickson commentedSeems like straight-forward stuff. Committed.
Thanks!
Comment #5
(not verified) commented