Skip to content

Commit

Permalink
Update plugins/system/actionlogs/actionlogs.php
Browse files Browse the repository at this point in the history
Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>
  • Loading branch information
alikon and heelc29 committed Aug 25, 2022
1 parent 0b57a12 commit 55d5916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/system/actionlogs/actionlogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ public function onExtensionAfterSave($context, $table, $isNew): void
foreach ($values as $item)
{
$userExt = substr($item->extensions, 2);
$userExt = substr($userExt,0 , -2);
$user = explode('","', $userExt);
$userExt = substr($userExt, 0, -2);
$user = explode('","', $userExt);
$common = array_intersect($globalExt, $user);

$extension = '["' . implode('","', $common) . '"]';
Expand Down

0 comments on commit 55d5916

Please sign in to comment.