Completed
Push — master ( 5ab18c...4e82e1 )
by claudio
08:39
created
app/Http/Controllers/NoAuthController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,10 @@
 block discarded – undo
26 26
         //$this->authorize($meeting);
27 27
         $ret = self::getImg($meeting);
28 28
         $blank = storage_path('img/meetings.jpg');
29
-        if ($ret === false)
30
-            return (new Response(file_get_contents($blank), 200))
29
+        if ($ret === false) {
30
+                    return (new Response(file_get_contents($blank), 200))
31 31
                 ->header('Content-Type', 'image/jpeg');
32
+        }
32 33
         return (new Response($ret, 200))
33 34
             ->header('Content-Type', 'image/jpeg');
34 35
     }
Please login to merge, or discard this patch.