mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-28 06:20:42 -05:00
chore: code cleanup
This commit is contained in:
@@ -271,7 +271,7 @@ class Bbcode
|
||||
// Don't loop more than the length of the source
|
||||
while ($index < \strlen($source)) {
|
||||
// Get the next occurrence of `[`
|
||||
$index = \stripos($source, '[', $index);
|
||||
$index = \strpos($source, '[', $index);
|
||||
|
||||
// Break if there are no more occurrences of `[`
|
||||
if ($index === false) {
|
||||
|
||||
Reference in New Issue
Block a user