1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-30 04:17:02 +00:00

fix: f0974dbe8268e56826b9cb466d330bdd5f3dd892

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

@ -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>