Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $uid = GNGHelper::getLoggedInUserID();
- $assignedGuideID = $tour->get('guide')->get('juser_id');
- $isCoord = GNGHelper::isLoggedInUserCoord();
- if (($uid == $assignedGuideID) || ($isCoord === true)) {}
Add Comment
Please, Sign In to add comment