From b4e700fd3d8f14125536ea0710165707527b6e93 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 24 Apr 2018 13:53:48 -0400 Subject: [PATCH] Fixed minor glitch - OK, I dont know what it fixed but it was needed. --- classes/data/dataCustomFields.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/classes/data/dataCustomFields.php b/classes/data/dataCustomFields.php index 0a5d106..25559fe 100644 --- a/classes/data/dataCustomFields.php +++ b/classes/data/dataCustomFields.php @@ -270,6 +270,9 @@ class GlmDataFieldsCustomFields extends GlmDataAbstract 'float_data' => $customFieldData['float_data'] )); + // Default is that this field has stored content + $r['displayOnly'] = false; + switch ($r['field_type']) { case 'text': @@ -317,6 +320,11 @@ class GlmDataFieldsCustomFields extends GlmDataAbstract $r['stored'] = $r['float_data']; break; + // Remainder of fields are display only and aren't used to store user data + default: + $r['displayOnly'] = true; + break; + } } -- 2.17.1