mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16019] Code's enhancement
PHPBB3-16019
This commit is contained in:
parent
66016db386
commit
463807fcf0
1 changed files with 2 additions and 5 deletions
|
@ -267,13 +267,10 @@ class acp_styles
|
|||
$prosilver_id = (int) $this->db->sql_fetchfield('style_id');
|
||||
$this->db->sql_freeresult($result);
|
||||
|
||||
if ($prosilver_id)
|
||||
{
|
||||
if (in_array($prosilver_id, $ids))
|
||||
if ($prosilver_id && in_array($prosilver_id, $ids))
|
||||
{
|
||||
trigger_error($this->user->lang('UNINSTALL_PROSILVER') . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if confirmation box was submitted
|
||||
if (confirm_box(true))
|
||||
|
|
Loading…
Add table
Reference in a new issue