2nd attempt to fix $hasaccess

Returning true when no $post_id specified