Skip to content
Snippets Groups Projects
Commit 711dd53d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1965894 by chx: Fixed Misleading variable name in BreakLockForm.

parent 0107faaf
No related branches found
No related tags found
No related merge requests found
......@@ -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)))));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment