Commit 7a001160 authored by webchick's avatar webchick

Issue #2102465 follow-up by webwarrior: Remove one more drupal_set_title() instance.

parent 6a6d48f5
...@@ -388,7 +388,6 @@ public function preview(array $form, array &$form_state) { ...@@ -388,7 +388,6 @@ public function preview(array $form, array &$form_state) {
// @todo Remove this: we should not have explicit includes in autoloaded // @todo Remove this: we should not have explicit includes in autoloaded
// classes. // classes.
module_load_include('inc', 'node', 'node.pages'); module_load_include('inc', 'node', 'node.pages');
drupal_set_title(t('Preview'), PASS_THROUGH);
$form_state['node_preview'] = node_preview($this->entity, $form_state); $form_state['node_preview'] = node_preview($this->entity, $form_state);
$form_state['rebuild'] = TRUE; $form_state['rebuild'] = TRUE;
} }
......
Markdown is supported
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