Events Made Easy Forums Bug fixed or feature request implemented Useless links created by #_EDITEVENTLINK

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42627
    Anonymous
    Inactive

    Links created by #_EDITEVENTLINK can see all logged-in users.

    But not all users have rights to change the events!

    In events-manager.php line 854:

    if (preg_match(‘/#_EDITEVENTLINK$/’, $result)) {

    if(is_user_logged_in()) <= it’s a bad idea to use is_user_logged_in

    May be the best solution is to use something like

    if($user_level > 0)

    where $user_level – is global variable?

    $user_level:

    -1 – Guest

    9 – Admin

    What do you think about this?

    #47175
    Franky
    Keymaster
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top