Update admin_ranks.php

This commit is contained in:
Roman Kelesidis 2023-10-10 22:54:02 +07:00
parent d89e7d3efa
commit c1099ed64b

View File

@ -114,7 +114,7 @@ if ($mode != '')
//
if ($rank_image != '')
{
if (!preg_match('/(\.gif|\.png|\.jpg|\.jpeg|\.bmp|\.webp)$/is', $rank_image))
if (!preg_match('/(\.gif|\.png|\.jpg|\.jpeg|\.bmp|\.webp|\.ico)$/is', $rank_image))
{
$rank_image = '';
}