Changeset: fc1092d92649 https://sourceforge.net/p/mrbs/hg-code/ci/fc1092d92649250ae053ef5331a595cd94e4c1ce Author: Campbell Morrison <cimorri...@hg.code.sf.net> Date: Tue Oct 18 13:52:43 2016 +0100 Log message:
Fixed bug that resulted in possibly wrong values for enable_periods and reminders_enabled being shown on the Edit Area form. diffstat: web/edit_area_room.php | 2 +- web/functions.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r 7d74aba2976c -r fc1092d92649 web/edit_area_room.php --- a/web/edit_area_room.php Mon Oct 17 09:26:25 2016 +0100 +++ b/web/edit_area_room.php Tue Oct 18 13:52:43 2016 +0100 @@ -1221,7 +1221,7 @@ '0' => get_vocab("mode_times")); $params = array('label' => get_vocab("mode") . ":", 'name' => 'area_enable_periods', - 'value' => ($enable_periods) ? '1' : '0', + 'value' => ($area_data['enable_periods']) ? '1' : '0', 'options' => $options, 'force_assoc' => TRUE); generate_radio_group($params); diff -r 7d74aba2976c -r fc1092d92649 web/functions.inc --- a/web/functions.inc Mon Oct 17 09:26:25 2016 +0100 +++ b/web/functions.inc Tue Oct 18 13:52:43 2016 +0100 @@ -1821,7 +1821,7 @@ 'max_per_month_enabled', 'max_per_month', 'max_per_year_enabled', 'max_per_year', 'max_per_future_enabled', 'max_per_future', - 'approval_enabled', 'reminders_enabled, enable_periods', + 'approval_enabled', 'reminders_enabled', 'enable_periods', 'confirmation_enabled', 'confirmed_default'); $sql = "SELECT * ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Mrbs-commits mailing list Mrbs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mrbs-commits