Passed
Push — release_2_1 ( 156650...595abe )
by Stefan
11:50
created
web/admin/API.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,8 +204,9 @@
 block discarded – undo
204 204
                         // scan for included fed:logo_file and b64 escape it, t2oo
205 205
                         foreach ($oneAttrib as $profileNumber => $profileContent) {
206 206
                                 foreach ($profileContent as $oneProfileIterator => $oneProfileContent) {
207
-                                        if ($oneProfileContent['name'] == "fed:logo_file")
208
-                                                $retArray[$instNumber]["PROFILES"][$profileNumber][$oneProfileIterator]['value'] = base64_encode($oneProfileContent['value']);
207
+                                        if ($oneProfileContent['name'] == "fed:logo_file") {
208
+                                                                                        $retArray[$instNumber]["PROFILES"][$profileNumber][$oneProfileIterator]['value'] = base64_encode($oneProfileContent['value']);
209
+                                        }
209 210
                                         }
210 211
                                 }
211 212
                         }
Please login to merge, or discard this patch.