mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 19:29:07 +02:00
Fixed some NOTICE error's
This commit is contained in:
parent
09ac9ec815
commit
e735e641c7
@ -1073,7 +1073,7 @@ abstract class LogStream {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( isset($fields[$tmpKeyName]) && isset($fields[$tmpKeyName]['SearchField']) )
|
||||
if ( isset($tmpKeyName) && isset($fields[$tmpKeyName]) && isset($fields[$tmpKeyName]['SearchField']) )
|
||||
{
|
||||
$tmpFilterType = $fields[$tmpKeyName]['FieldType'];
|
||||
|
||||
@ -1111,7 +1111,7 @@ abstract class LogStream {
|
||||
}
|
||||
|
||||
// Add to detected filter array
|
||||
if ( $this->_arrFilterProperties == null || !in_array($tmpKeyName, $this->_arrFilterProperties) )
|
||||
if ( isset($tmpKeyName) && ($this->_arrFilterProperties == null || !in_array($tmpKeyName, $this->_arrFilterProperties)) )
|
||||
$this->_arrFilterProperties[] = $tmpKeyName;
|
||||
|
||||
// Ignore if unknown filter!
|
||||
|
Loading…
x
Reference in New Issue
Block a user