File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ public function save($instance)
183183    {
184184        $ tuple
185185
186+         $ sizecount (get_object_vars ($ instance
187+ 
186188        foreach ($ this space ->getFormat () as  $ index$ info
187189            if (!property_exists ($ instance$ info'name ' ])) {
188190                $ instance$ info'name ' ]} = null ;
@@ -191,6 +193,10 @@ public function save($instance)
191193            $ instance$ info'name ' ]} = $ this space ->getMapper ()->getSchema ()
192194                ->formatValue ($ info'type ' ], $ instance$ info'name ' ]});
193195            $ tuple$ index$ instance$ info'name ' ]};
196+ 
197+             if (count ($ tuple$ size
198+                 break ;
199+             }
194200        }
195201
196202        $ key$ this space ->getInstanceKey ($ instance
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ public function testBasics()
7676        $ this assertSame ($ nekufaid , 1 );
7777        $ this assertSame ($ nekufaname , 'nekufa ' );
7878        $ this assertSame ($ nekufabirthday , 19840127 );
79+         $ this assertFalse (property_exists ($ nekufa'gender ' ));
7980
8081        $ person$ mapperfindOne ('person ' , ['birthday '  => '19840127 ' ]);
8182        $ this assertSame ($ person$ nekufa
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments