Passed
Push — master ( 960caf...dece5e )
by Alex
02:23
created
locallib.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,8 +157,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.