Avoid a Notice
This commit is contained in:
		
					parent
					
						
							
								4b1de0f538
							
						
					
				
			
			
				commit
				
					
						35128ef2c9
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -163,7 +163,7 @@ function bbtoevent($s) {
 | 
			
		|||
	if(preg_match("/\[event\-adjust\](.*?)\[\/event\-adjust\]/is",$s,$match))
 | 
			
		||||
		$ev['adjust'] = $match[1];
 | 
			
		||||
	$match = '';
 | 
			
		||||
	$ev['nofinish'] = (($ev['start'] && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0);
 | 
			
		||||
	$ev['nofinish'] = (((x($ev, 'start') && $ev['start']) && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0);
 | 
			
		||||
	return $ev;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue