[Plugin: Gigs Calendar] BUGFIX for hiding the management at lower role-levels (2 posts)

  1. TommyFive
    Posted 7 years ago #

    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
    "(isset($options['user_level']) ? (int) $options['user_level'] : 'level_7'), "


    "(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...

  2. DanCoulter
    Posted 7 years ago #

    In case anyone is wondering, the fix for this bug is in the latest version of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic