mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:57:33 -05:00 
			
		
		
		
	Checks for task array
This commit is contained in:
		
							parent
							
								
									b8be425d4d
								
							
						
					
					
						commit
						81f67a0f1e
					
				@ -86,6 +86,9 @@ class UpdateCalculatedFields
 | 
			
		||||
 | 
			
		||||
                foreach(json_decode($task->time_log) as $log) {
 | 
			
		||||
 | 
			
		||||
                    if(!is_array($log))
 | 
			
		||||
                        continue;
 | 
			
		||||
                    
 | 
			
		||||
                    $start_time = $log[0];
 | 
			
		||||
                    $end_time = $log[1] == 0 ? time() : $log[1];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user