Forums

Bee Offline
Bug in release 1.4 (2 posts)

  1. Tommy Sansfacon
    Member
    Posted 1 year ago #

    I notice a mistake in the PHP code of bee-offline.php.
    Check at the line 146 and 147.
    Both variable were switched. You are reading :
    $role_config = (get_option($prefix . 'offline_set')) ? get_option($prefix . 'offline_set') : array();
    $construction = (get_option($prefix . 'role_conf')) ? get_option($prefix . 'role_conf') : array();

    Here is the fix : just switch value like this :
    $role_config = (get_option($prefix . 'role_conf')) ? get_option($prefix . 'role_conf') : array();
    $construction = (get_option($prefix . 'offline_set')) ? get_option($prefix . 'offline_set') : array();

    Hope it help somebody.

    http://wordpress.org/extend/plugins/bee-offline/

  2. rolies106
    Member
    Posted 6 months ago #

    Hi Tommy,

    Thanks for resolving the problem, I think I'll need to make major update to this plugin so it can work with latest WP. Sorry not updating this plugin for long time.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic