From 658f054b3af42379da83c1f4ca5ee352b9613c4f Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Sat, 11 Sep 2021 23:13:14 +0700 Subject: [PATCH] hotfix: thisUser -> user --- Web/Presenters/templates/Admin/Users.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/templates/Admin/Users.xml b/Web/Presenters/templates/Admin/Users.xml index b9fd4751..4ad22c89 100644 --- a/Web/Presenters/templates/Admin/Users.xml +++ b/Web/Presenters/templates/Admin/Users.xml @@ -49,7 +49,7 @@ Редактировать - {if $thisUser->getChandlerUser()->can("substitute")->model('openvk\Web\Models\Entities\User')->whichBelongsTo(0)} + {if $user->getChandlerUser()->can("substitute")->model('openvk\Web\Models\Entities\User')->whichBelongsTo(0)}