avoid returning events from getting posted again
This commit is contained in:
		
					parent
					
						
							
								fb92dbf5d6
							
						
					
				
			
			
				commit
				
					
						05eb9ceaba
					
				
			
		
					 3 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -599,6 +599,7 @@ function dfrn_notify_post(&$a) {
 | 
			
		|||
				if(x($ev,'desc') && x($ev,'start')) {
 | 
			
		||||
					$ev['cid'] = $importer['id'];
 | 
			
		||||
					$ev['uid'] = $importer['uid'];
 | 
			
		||||
					$ev['uri'] = $item_id;
 | 
			
		||||
 | 
			
		||||
					$r = q("SELECT * FROM `event` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
 | 
			
		||||
						dbesc($item_id),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue