Changeset:
        51691c542d73
        
https://sourceforge.net/p/mrbs/hg-code/ci/51691c542d73f4ce983960b338e1ff2324a78b95
Author:
        Campbell Morrison <cimorri...@hg.code.sf.net>
Date:
        Wed Apr 12 08:32:53 2017 +0100
Log message:

Fixed creation of areas so that the correect default is used for periods,

diffstat:

 web/mrbs_sql.inc |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 6c4f074c6d3e -r 51691c542d73 web/mrbs_sql.inc
--- a/web/mrbs_sql.inc  Wed Apr 12 08:04:40 2017 +0100
+++ b/web/mrbs_sql.inc  Wed Apr 12 08:32:53 2017 +0100
@@ -1684,6 +1684,11 @@
       $sql_val[] = "?";
       $sql_params[] = $name;
       break;
+    case 'periods':
+      $sql_col[] = $key;
+      $sql_val[] = "?";
+      $sql_params[] = json_encode($area_defaults[$key]);
+      break;
     default:
       if (array_key_exists($key, $area_defaults))
       {

------------------------------------------------------------------------------
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

Reply via email to