It is better 'menu' + output of full fieldArray if DEVELOPER is defined.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index a542b371ffa4c59016377c640b0f7dd4a63950bb..94c13b750e3af3ccf586a58f070cb36472aaaa4e 100644 (file)
@@ -2003,6 +2003,9 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                if (isset($fieldArray[$fieldName])) {
                        // Get it
                        $fieldValue = $fieldArray[$fieldName];
+               } elseif (defined('DEVELOPER')) {
+                       // Missing field entry, may require debugging
+                       self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']:fieldArray<pre>=' . print_r($fieldArray, TRUE) . '</pre>,fieldName=' . $fieldName . ' not found!');
                } else {
                        // Missing field entry, may require debugging
                        self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']:fieldName=' . $fieldName . ' not found!');