In issue.inc, we have a function project_issue_state(). The function declaration includes a parameter $current_sid, however the phpdoc for the function does not mention this parameter.
**
* Return information about project issue state values.
*
* @param $sid
* Integer state id to return information about, or 0 for all states.
* @param $restrict
* Boolean to determine if states should be restricted based on the
* permissions of the current user.
* @param $is_author
* Boolean that indicates if the current user is the author of the
* issue, which can potentially grant a wider selection of states.
* @param $defaults
* Boolean to request the states used for default issue queries.
*
* @return
* An array of states (sid as key, name as value) that match the
* given filters, or the name of the requested state.
*/
function project_issue_state($sid = 0, $restrict = false, $is_author = false, $current_sid = 0, $defaults = false) {
Comments
Comment #1
aclight commentedHm....I could have sworn I attached the patch...
Comment #2
dwwCommitted to HEAD and DRUPAL-5. Thanks!
Comment #3
dwwComment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.