Commit 55c0ee7b authored by tim.plunkett's avatar tim.plunkett Committed by tim.plunkett
Browse files

Issue #1659480 by tim.plunkett: Fixed Break lock confirmation page is blank when there is no lock.

parent 08173e8c
...@@ -860,7 +860,7 @@ function views_ui_break_lock_confirm($form, &$form_state, $view) { ...@@ -860,7 +860,7 @@ function views_ui_break_lock_confirm($form, &$form_state, $view) {
$form = array(); $form = array();
if (empty($view->locked)) { if (empty($view->locked)) {
$form['#markup'] = t('There is no lock on view %view to break.', array('%name' => $view->name)); $form['message']['#markup'] = t('There is no lock on view %name to break.', array('%name' => $view->name));
return $form; return $form;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment