#5037 - users inactive occasionals: has_privilege is undefined

  • By
  • Added
  • 1 view
Identifier #5037
Issue type Minor issue (breaks specific functionality)
Title users inactive occasionals: has_privilege is undefined
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description In users_inactive_occasionals create_session, has_privilege is sometimes undefined "(!has_privilege(get_member(), 'access_overrun_site'))".

For a temporary workaround, I put in "(function_exists('has_privilege'))". However, this code block may be fundamentally broken and needs closer inspection.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated