Test Setup Failed
Push — master ( 5ab61a...be3a40 )
by Tomasz
05:15
created
core/UserNetAPI.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $returnArray = [];
70 70
         $returnArray['status'] = $status;
71 71
         $returnArray['data'] = $data;
72
-        $returnArray['tou'] = "Please consult Terms of Use at: //" . $host . \core\CAT::getRootUrlPath() . "/tou.php";
72
+        $returnArray['tou'] = "Please consult Terms of Use at: //".$host.\core\CAT::getRootUrlPath()."/tou.php";
73 73
         if (!empty($otherData)) {
74 74
             $returnArray['otherdata'] = $otherData;
75 75
         }
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     public function sendLogo($identifier, $type, $width, $height)
325 325
     {
326 326
         $logo = $this->getLogo($identifier, $type, $width, $height);
327
-        header("Content-type: " . $logo['filetype']);
327
+        header("Content-type: ".$logo['filetype']);
328 328
         header("Cache-Control:max-age=36000, must-revalidate");
329 329
         header($logo['expires']);
330 330
         echo $logo['blob'];
Please login to merge, or discard this patch.
core/UserAPI.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -417,7 +417,7 @@
 block discarded – undo
417 417
         } else {
418 418
             $logoAttribute = $entity->getAttributes($attributeName[$type]);
419 419
             if (count($logoAttribute) == 0) {
420
-                $blob = file_get_contents(ROOT . '/web/resources/images/empty.png');
420
+                $blob = file_get_contents(ROOT.'/web/resources/images/empty.png');
421 421
                 $expiresString = $this->logoExpireTime();
422 422
             } else {
423 423
                 $this->loggerInstance->debug(4, "RESIZE:$width:$height\n");
Please login to merge, or discard this patch.