Pman/Roo.php
authorAlan Knowles <alan@roojs.com>
Wed, 22 Mar 2017 09:22:36 +0000 (17:22 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Mar 2017 09:22:36 +0000 (17:22 +0800)
Pman/Roo.php

index cf33462..c4722e7 100644 (file)
@@ -1481,24 +1481,11 @@ class Pman_Roo extends Pman
                     
                     
                     
-                    if (isset($this->colsJname[$key])) {
+                    if (isset($this->colsJname[$key]) ) {
                         
-                        if (isset($this->cols[$key])) {
-                            // try to use setFrom on the 
-                            $tc = explode('.',$this->cols[$key]);
-                            $tbl = DB_DataObject::factory($tc[0]);
-                            if (is_a($tbl,'DB_DataObject')) {
-                                $set = array();
-                                $set[$tc[1]] = $val;
-                                $tbl->setFrom($set);
-                           //     print_R($tbl);
-                                var_dump($tbl->{$tc[1]});
-                                var_dump($set);
-                                var_dump($val);
-                                if ($tbl->{$tc[1]} !== $val) {
+                        if (!strlen($val)) {
                                     continue;
-                                }
-                            }
+            
                         }