Line 60 reads "&& (user_access('access administration pages') || (isset($space) && spaces_admin_access()))) {"

This is fine except for the fact that spaces_admin_access doesn't exist. The function name is actually spaces_access_admin. The reason this wasn't detected previously (most likely) is that the if statement would never get to that function for evaluation for those with admin-esk permissions.

Comments

Grayside’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.