Changeset:
        2073ef1a3717
        
https://sourceforge.net/p/mrbs/hg-code/ci/2073ef1a37179401c5b6ea27170ef0d212691f94
Author:
        Campbell Morrison <[email protected]>
Date:
        Fri Oct 07 06:43:23 2016 +0100
Log message:

Added comments

diffstat:

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

diffs (23 lines):

diff -r 047424009efa -r 2073ef1a3717 web/functions.inc
--- a/web/functions.inc Thu Oct 06 23:13:01 2016 +0100
+++ b/web/functions.inc Fri Oct 07 06:43:23 2016 +0100
@@ -1737,6 +1737,9 @@
 {
   global $force_resolution, $area_defaults, $boolean_fields, 
$private_override_options;
   
+  // This code can get called during the upgrade process and so must
+  // not make any assumptions about the existence of extra columns in
+  // the area table.
   foreach ($row as $key => $value)
   {
     if (array_key_exists($key, $area_defaults))
@@ -1795,6 +1798,9 @@
   global $max_per_interval_area_enabled, $max_per_interval_area;
   global $interval_types;
   
+  // This code can get called during the upgrade process and so must
+  // not make any assumptions about the existence of extra columns in
+  // the area table.
   if (empty($area))
   {
     $area = get_default_area();

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to