[Plugin: Bee Offline] Bug in release 1.4
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Bee Offline] Bug in release 1.4’ is closed to new replies.