@@ -157,8 +157,7 @@ |
||
157 | 157 | |
158 | 158 | $redirecturl = $edulegitsubmission->get_user_login_url(); |
159 | 159 | if (!$redirecturl || $edulegitsubmission->error) { |
160 | - $error = $this->translate('open_edulegit_error') . ' ' . $edulegitsubmission->error ?: |
|
161 | - $this->translate('default_open_edulegit_error'); |
|
160 | + $error = $this->translate('open_edulegit_error') . ' ' . $edulegitsubmission->error ?: $this->translate('default_open_edulegit_error'); |
|
162 | 161 | |
163 | 162 | global $OUTPUT; |
164 | 163 | $html = $OUTPUT->notification($error, 'error'); |