Skip to content

Commit

Permalink
Fix trailing # for titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed May 23, 2020
1 parent 2cf24c1 commit fe149ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/ViewListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function _getPageTitle(): string
}

$primaryKeyValue = $this->_primaryKeyValue();
if ($primaryKeyValue === []) {
if (empty($primaryKeyValue)) {
return sprintf('%s %s', $actionName, $controllerName);
}

Expand Down

0 comments on commit fe149ef

Please sign in to comment.