Completed
Pull Request — 1.11.x (#1163)
by José
224:28 queued 183:17
created
main/badge/assign.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         Display::return_message(get_lang('NoUser'), 'error')
35 35
     );
36 36
 
37
-    header('Location: ' . api_get_path(WEB_PATH));
37
+    header('Location: '.api_get_path(WEB_PATH));
38 38
     exit;
39 39
 }
40 40
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     . '<script>'
49 49
     . '$( document ).ready(function() {'
50 50
     . '$("#skill").on("change", function() {'
51
-    . '$(location).attr("href", "'. $url .'"+$(this).val());'
51
+    . '$(location).attr("href", "'.$url.'"+$(this).val());'
52 52
     . '});'
53 53
     . '});'
54 54
     . '</script>';
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             Display::return_message(get_lang('SkillNotFound'), 'error')
134 134
         );
135 135
 
136
-        header('Location: ' . api_get_self() . '?' . http_build_query(['user' => $user->getId()]));
136
+        header('Location: '.api_get_self().'?'.http_build_query(['user' => $user->getId()]));
137 137
         exit;
138 138
     }
139 139
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
             )
146 146
         );
147 147
 
148
-        header('Location: ' . api_get_self() . '?' . http_build_query(['user' => $user->getId()]));
148
+        header('Location: '.api_get_self().'?'.http_build_query(['user' => $user->getId()]));
149 149
         exit;
150 150
     }
151 151
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         )
170 170
     );
171 171
 
172
-    header('Location: ' . api_get_path(WEB_PATH) . "badge/{$skillUser->getId()}");
172
+    header('Location: '.api_get_path(WEB_PATH)."badge/{$skillUser->getId()}");
173 173
     exit;
174 174
 }
175 175
 
Please login to merge, or discard this patch.