diff --git a/system/includes/functions.php b/system/includes/functions.php index e7006f3..e7bbe0f 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2370,12 +2370,14 @@ function tab($p) $role = user('role', $user); $tab = ''; if (isset($p->author)) { - if ($user === $p->author || $role === 'admin') { + if ($user === $p->author || $role === 'editor' || $role === 'admin') { $tab = '