mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +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()
|
public function getParentId()
|
||||||
{
|
{
|
||||||
if ($self->isRootNode()) {
|
if ($this->isRootNode()) {
|
||||||
throw new ProgrammingError('Filter root nodes have no parent');
|
throw new ProgrammingError('Filter root nodes have no parent');
|
||||||
}
|
}
|
||||||
return substr($this->id, 0, strrpos($this->id, '-'));
|
return substr($this->id, 0, strrpos($this->id, '-'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user