Revision: 2964
          https://sourceforge.net/p/mrbs/code/2964/
Author:   cimorrison
Date:     2015-01-20 11:27:28 +0000 (Tue, 20 Jan 2015)
Log Message:
-----------
Fixed bug and now the max duration will change with the area on the edit_entry 
form.

Modified Paths:
--------------
    mrbs/trunk/web/edit_entry.php

Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php       2015-01-20 09:37:36 UTC (rev 2963)
+++ mrbs/trunk/web/edit_entry.php       2015-01-20 11:27:28 UTC (rev 2964)
@@ -1027,7 +1027,8 @@
 // Get the details of all the enabled areas
 $areas = array();
 $sql = "SELECT id, area_name, resolution, default_duration, enable_periods, 
timezone,
-               morningstarts, morningstarts_minutes, eveningends , 
eveningends_minutes
+               morningstarts, morningstarts_minutes, eveningends , 
eveningends_minutes,
+               max_duration_enabled, max_duration_secs, max_duration_periods
           FROM $tbl_area
          WHERE disabled=0
       ORDER BY area_name";
@@ -1042,11 +1043,6 @@
     {
       $row['resolution'] = 60;
     }
-    // The following config settings aren't yet per-area, but we'll treat them 
as if
-    // they are to make it easier to change them to per-area settings in the 
future.
-    $row['max_duration_enabled'] = $max_duration_enabled;
-    $row['max_duration_secs']    = $max_duration_secs;
-    $row['max_duration_periods'] = $max_duration_periods;
     // Generate some derived settings
     $row['max_duration_qty']     = $row['max_duration_secs'];
     toTimeString($row['max_duration_qty'], $row['max_duration_units']);
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to