Missing fields may debugging
authorRoland Häder <roland@mxchange.org>
Fri, 18 May 2012 20:03:08 +0000 (20:03 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 18 May 2012 20:03:08 +0000 (20:03 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index 585e93771f29ec9d3c4ae7ce2054cd180f0a42eb..d42cfc3968cf0c06554df81e1d23c10c3dbb2015 100644 (file)
@@ -1632,7 +1632,10 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                if (isset($fieldArray[$fieldName])) {
                        // Get it
                        $fieldValue = $fieldArray[$fieldName];
-               } // END - if
+               } else {
+                       // Missing field entry, may require debugging
+                       $this->debugOutput($this->__toString() . ':fieldname=' . $fieldName . ' not found!');
+               }
 
                // Return it
                return $fieldValue;