Browse Source

Merge branch 'category_03_11_liu'

rkljw 1 month ago
parent
commit
ce3fe8ed93
1 changed files with 1 additions and 1 deletions
  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];
                     $origin = $header['userurl'][0];
                     $data = [
                     $data = [
                         'website_url'=>$origin
                         'website_url'=>$origin