mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 17:31:33 +02:00
[ticket/16019] Code's enhancement
PHPBB3-16019
This commit is contained in:
@ -267,12 +267,9 @@ class acp_styles
|
|||||||
$prosilver_id = (int) $this->db->sql_fetchfield('style_id');
|
$prosilver_id = (int) $this->db->sql_fetchfield('style_id');
|
||||||
$this->db->sql_freeresult($result);
|
$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
|
// Check if confirmation box was submitted
|
||||||
|
Reference in New Issue
Block a user