Bjs.php
authorAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 07:09:44 +0000 (15:09 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 07:09:44 +0000 (15:09 +0800)
Bjs.php

diff --git a/Bjs.php b/Bjs.php
index 38eac38..d936bcf 100644 (file)
--- a/Bjs.php
+++ b/Bjs.php
@@ -24,7 +24,10 @@ class Pman_Core_Bjs {
         foreach($ar as $o) {
             
             switch ($o->xtype) {
-                case "ComboBox":                
+                case "ComboBox":
+                    if (!isset($o->{'String hiddenName'})) {
+                        continue;
+                    }
                     $this->fields[] = $o->{'String hiddenName'};
                     // fall throught..
                     $k = isset($o->{'String name'}) ? 'String name' : 'string name';