Fix SQL error during postupdate
This commit is contained in:
		
					parent
					
						
							
								a2dbf17a3d
							
						
					
				
			
			
				commit
				
					
						f9c695e78d
					
				
			
		
					 2 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -2047,7 +2047,7 @@ EOT;
 | 
			
		|||
 | 
			
		||||
		$result = dba::update('thread', $fields, ['iid' => $itemid]);
 | 
			
		||||
 | 
			
		||||
		logger("Update thread for item ".$itemid." - guid ".$item["guid"]." - ".(int)$result." ".print_r($item, true), LOGGER_DEBUG);
 | 
			
		||||
		logger("Update thread for item ".$itemid." - guid ".$item["guid"]." - ".(int)$result, LOGGER_DEBUG);
 | 
			
		||||
 | 
			
		||||
		// Updating a shadow item entry
 | 
			
		||||
		$items = dba::selectFirst('item', ['id'], ['guid' => $item['guid'], 'uid' => 0]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue