From: Dan Poltawski Date: Fri, 4 Jul 2014 13:48:10 +0000 (+0100) Subject: MDL-46200 fix missing space in failed login message X-Git-Tag: v2.8.0-beta~602^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=46fa062894986c91dbc4c63f54c3b1fb2a098a5f;ds=sidebyside MDL-46200 fix missing space in failed login message --- diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 8b9ef8f6e07..9da96cb7cbe 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -705,8 +705,8 @@ class core_renderer extends renderer_base { $a->attempts = $count; $loggedinas .= get_string('failedloginattempts', '', $a); if (file_exists("$CFG->dirroot/report/log/index.php") and has_capability('report/log:view', context_system::instance())) { - $loggedinas .= html_writer::link(new moodle_url('/report/log/index.php', array('chooselog' => 1, - 'id' => 0 , 'modid' => 'site_errors')), '(' . get_string('logs') . ')'); + $loggedinas .= ' ('.html_writer::link(new moodle_url('/report/log/index.php', array('chooselog' => 1, + 'id' => 0 , 'modid' => 'site_errors')), get_string('logs')).')'; } $loggedinas .= ''; }