diff --git a/core/modules/views/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php b/core/modules/views/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php index 334e354a20491d77435ff5107091e18b3085e6a0..7dc1ee3478aa33b86219d4f8d5ab630ff01b96e2 100644 --- a/core/modules/views/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php +++ b/core/modules/views/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php @@ -83,8 +83,8 @@ protected function getQuestion() { */ protected function getDescription() { $locked = $this->tempStore->getMetadata($this->view->id()); - $account = $this->entityManager->getStorageController('user')->load(array($locked->owner)); - return t('By breaking this lock, any unsaved changes made by !user will be lost.', array('!user' => theme('username', array('account' => reset($account))))); + $accounts = $this->entityManager->getStorageController('user')->load(array($locked->owner)); + return t('By breaking this lock, any unsaved changes made by !user will be lost.', array('!user' => theme('username', array('account' => reset($accounts))))); } /**