$is_admin = (authGetUserLevel($user) >= 2);
$is_admin = auth_book_admin($user, $room);
edit_entry_handler.php line 165
pending.php line 154
Can also do it on admin.php line 37
You seem to have CSS turned off.
Please don't fill out this field.
and view_entry.php line 118
Thanks for these. I'll need to think about them for a bit though and I'm going to be busy on other things for the next few days. In the case of the one for edit_entry_handler, the problem is that multiple rooms can be passed through to edit_entry_handler for booking and while the user might be an admin for one of them he might not be an admin for all of them.
Sign up for the SourceForge newsletter: