Support » Fixing WordPress » [Plugin: Gigs Calendar] BUGFIX for hiding the management at lower role-levels

  • TommyFive

    (@tommyfive)


    Hi there,

    i encountered the problem, that the “Gigs Calendar” tab under the “Management” isn’t hideing for subscribers (depending on the settings made under “administrator settings).

    To fix the Bug you gotta change Line 43 in gigs-calendar.php
    from
    “(isset($options[‘user_level’]) ? (int) $options[‘user_level’] : ‘level_7’), “

    to

    “(isset($options[‘user_level’]) ? $options[‘user_level’] : ‘level_7’), “

    After this, the function acts like described in the settings view.

    I contacted Dan to include the fix in the next release!

    Stay tuned!

    Greetings from Germany…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Gigs Calendar] BUGFIX for hiding the management at lower role-levels’ is closed to new replies.