mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
[ticket/16019] Code's enhancement
PHPBB3-16019
This commit is contained in:
parent
66016db386
commit
463807fcf0
@ -267,12 +267,9 @@ class acp_styles
|
||||
$prosilver_id = (int) $this->db->sql_fetchfield('style_id');
|
||||
$this->db->sql_freeresult($result);
|
||||
|
||||
if ($prosilver_id)
|
||||
if ($prosilver_id && in_array($prosilver_id, $ids))
|
||||
{
|
||||
if (in_array($prosilver_id, $ids))
|
||||
{
|
||||
trigger_error($this->user->lang('UNINSTALL_PROSILVER') . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
trigger_error($this->user->lang('UNINSTALL_PROSILVER') . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
||||
// Check if confirmation box was submitted
|
||||
|
Loading…
x
Reference in New Issue
Block a user