Przeglądaj źródła

Merge pull request #5174 from bdwebnet/staging

Fix error  "Deprecated: Using ${var} in strings is deprecated, use {$…
Patrick Schult 2 lat temu
rodzic
commit
13b6df74af
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      data/web/sogo-auth.php

+ 1 - 1
data/web/sogo-auth.php

@@ -60,7 +60,7 @@ elseif (isset($_GET['login'])) {
           ':remote_addr' => ($_SERVER['HTTP_X_REAL_IP'] ?? $_SERVER['REMOTE_ADDR'])
         ));
         // redirect to sogo (sogo will get the correct credentials via nginx auth_request
-        header("Location: /SOGo/so/${login}");
+        header("Location: /SOGo/so/{$login}");
         exit;
       }
     }