mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Fixed issue with new bills not grabbing data
This commit is contained in:
		| @@ -125,7 +125,7 @@ function CollectData($bill_id) { | |||||||
|         $out_delta = $prev_out_delta; |         $out_delta = $prev_out_delta; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     if ($period < '0') { |     if (!empty($period) && $period < '0') { | ||||||
|         logfile("BILLING: negative period! id:$bill_id period:$period delta:$delta in_delta:$in_delta out_delta:$out_delta"); |         logfile("BILLING: negative period! id:$bill_id period:$period delta:$delta in_delta:$in_delta out_delta:$out_delta"); | ||||||
|     } |     } | ||||||
|     else { |     else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user