mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
hotfix: thisUser -> user
This commit is contained in:
parent
b66bac7746
commit
658f054b3a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
<a class="aui-button aui-button-primary" href="/admin/users/id{$user->getId()}">
|
<a class="aui-button aui-button-primary" href="/admin/users/id{$user->getId()}">
|
||||||
<span class="aui-icon aui-icon-small aui-iconfont-new-edit">Редактировать</span>
|
<span class="aui-icon aui-icon-small aui-iconfont-new-edit">Редактировать</span>
|
||||||
</a>
|
</a>
|
||||||
{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)}
|
||||||
<a class="aui-button" href="/setSID/{$user->getChandlerUser()->getId()}?hash={rawurlencode($csrfToken)}">
|
<a class="aui-button" href="/setSID/{$user->getChandlerUser()->getId()}?hash={rawurlencode($csrfToken)}">
|
||||||
<span class="aui-icon aui-icon-small aui-iconfont-sign-in">Войти как</span>
|
<span class="aui-icon aui-icon-small aui-iconfont-sign-in">Войти как</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue