fix: f0974dbe82
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-08 10:25:54 +08:00
parent f0974dbe82
commit b97d606b07
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -204,9 +204,9 @@ EOD;
<?php $row['removeForm']->printHTML(); ?>
</li>
<?php endif ?>
<?php if (Auth::check() && (isSuperUser(Auth::user()) || Auth::id() == $blog['poster'])): ?>
<?php if (Auth::check() && (isSuperUser(Auth::user()) || Auth::id() == $row['poster'])): ?>
<li class="list-inline-item">
<a class="text-decoration-none" href="<?=HTML::blog_url($blog['poster'], '/blog/'.$row['blog_id'].'/write')?>">
<a class="text-decoration-none" href="<?= HTML::blog_url($row['poster'], '/post/'.$row['blog_id'].'/write') ?>">
修改
</a>
</li>