Skip to content

Commit 5131e02

Browse files
authored
Merge pull request #11 from MEXAHOTABOP/php8
DFRawFunctions.body.php: tagentry: fix str to int comparison
2 parents 32c30df + aaa9303 commit 5131e02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DFRawFunctions.body.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public static function tagentry (&$parser, $data = '', $type = '', $num = 0, $of
160160
return $notfound;
161161
foreach ($tags as $tag)
162162
{
163-
if ($offset >= count($tag))
163+
if ((int)$offset >= count($tag))
164164
continue;
165165
$match = true;
166166
for ($i = 0; $i < $numcaps; $i++)

0 commit comments

Comments
 (0)