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
1 changed files with 1 additions and 1 deletions

View File

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