mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Data\Filter: fix $self VS $this
This commit is contained in:
parent
178ddaade7
commit
6aefc4b491
@ -102,7 +102,7 @@ abstract class Filter
|
||||
|
||||
public function getParentId()
|
||||
{
|
||||
if ($self->isRootNode()) {
|
||||
if ($this->isRootNode()) {
|
||||
throw new ProgrammingError('Filter root nodes have no parent');
|
||||
}
|
||||
return substr($this->id, 0, strrpos($this->id, '-'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user