NavigationItem: Fix method conflictsWith()

...

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-07 13:26:44 +02:00
parent 6b13f2a987
commit 21180e2fd4

View File

@ -597,7 +597,7 @@ class NavigationItem implements IteratorAggregate
public function conflictsWith(NavigationItem $item) public function conflictsWith(NavigationItem $item)
{ {
if (! $item instanceof $this) { if (! $item instanceof $this) {
return false; return true;
} }
if ($this->getUrl() === null || $item->getUrl() === null) { if ($this->getUrl() === null || $item->getUrl() === null) {