Commit 0df71da5 authored by m.stenta's avatar m.stenta
Browse files

Fix "Log saved" link when Drupal is installed in a subdirectory.

parent 0adc8a02
......@@ -248,7 +248,7 @@ function log_form_submit(array $form, array &$form_state) {
$form_state['redirect'] = $log_uri['path'];
// Print a message.
drupal_set_message(t('Log saved: <a href="@uri">%title</a>', array('@uri' => base_path() . $log_uri['path'], '%title' => entity_label('log', $log))));
drupal_set_message(t('Log saved: <a href="@uri">%title</a>', array('@uri' => url($log_uri['path']), '%title' => entity_label('log', $log))));
}
/**
......
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