mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix incorrect detection of admin user when writer is anonymous
This commit is contained in:
parent
7f0753454f
commit
e0e4da50b7
1 changed files with 1 additions and 0 deletions
|
|
@ -1069,6 +1069,7 @@ function stripEmbedTagForAdmin(&$content, $writer_member_srl)
|
|||
}
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
$writer_member_srl = abs($writer_member_srl);
|
||||
if ($logged_info->member_srl == $writer_member_srl)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue