Data\Filter: fix $self VS $this

This commit is contained in:
Thomas Gelf 2014-11-14 22:53:46 +01:00
parent 178ddaade7
commit 6aefc4b491

View File

@ -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, '-'));