Browse Source

Merge branch 'category_03_11_liu'

rkljw 1 tháng trước cách đây
mục cha
commit
ce3fe8ed93
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Middleware/Auth/FooMiddleware.php

+ 1 - 1
app/Middleware/Auth/FooMiddleware.php

@@ -55,7 +55,7 @@ class FooMiddleware implements MiddlewareInterface
                        ]
                    );
                 }
-                if($header['userurl'][0]){
+                if($header['userurl'] && $header['userurl'][0]){
                     $origin = $header['userurl'][0];
                     $data = [
                         'website_url'=>$origin