mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
substr_compare()에서 문제를 일으킬 수 있는 부분 보완.
This commit is contained in:
parent
3430d4fae5
commit
e9dacc6cdf
5 changed files with 8 additions and 7 deletions
|
|
@ -1015,7 +1015,7 @@ function removeSrcHack($match)
|
|||
{
|
||||
foreach($m[1] as $idx => $name)
|
||||
{
|
||||
if(isset($name) && substr_compare($name, 'on', 0, 2) === 0)
|
||||
if(strlen($name) >= 2 && substr_compare($name, 'on', 0, 2) === 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue