Просмотр исходного кода

https://assistance.opentalent.fr/browse/V8-1778

Olivier Massot 5 лет назад
Родитель
Сommit
f983f4b1db

+ 1 - 1
ot_admin/Classes/Controller/SiteController.php

@@ -550,7 +550,7 @@ class SiteController extends ActionController
         $queryBuilder
             ->update('sys_template')
             ->set('constants', $constants)
-            ->where($queryBuilder->expr()->eq('uid', $rootUid))
+            ->where($queryBuilder->expr()->eq('pid', $rootUid))
             ->execute();
         return $rootUid;
     }

+ 1 - 1
ot_admin/Classes/Middleware/OtBackendUserAuthenticator.php

@@ -16,7 +16,7 @@ class OtBackendUserAuthenticator extends BackendUserAuthenticator
      * Check if the user is required for the request
      * If we're trying to do a login or an ajax login, don't require a user
      *
-     * @param string $routePath the Route path to check against, something like '
+     * @param string $routePath the Route path to check against
      * @return bool whether the request can proceed without a login required
      */
     protected function isLoggedInBackendUserRequired(string $routePath): bool