diff --git a/core/lib/Drupal/Core/Entity/EntityListController.php b/core/lib/Drupal/Core/Entity/EntityListController.php index 8c8d165..6c4861b 100644 --- a/core/lib/Drupal/Core/Entity/EntityListController.php +++ b/core/lib/Drupal/Core/Entity/EntityListController.php @@ -122,7 +122,7 @@ class EntityListController implements EntityListControllerInterface { '#rows' => array(), '#empty' => t('There is no @label yet. Add one.', array( '@label' => $this->entityInfo['label'], - '@add-url' => $this->getPath() . '/add', + '@add-url' => url($this->getPath() . '/add'), )), ); foreach ($this->load() as $entity) {