mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(array): Array.from string delimiter
This commit is contained in:
@@ -37,7 +37,7 @@ function lib.array:from(iter)
|
||||
end
|
||||
|
||||
if iterType == 'string' then
|
||||
return lib.array:new(string.strsplit('delimiter', iter))
|
||||
return lib.array:new(string.strsplit('', iter))
|
||||
end
|
||||
|
||||
if iterType == 'function' then
|
||||
|
||||
Reference in New Issue
Block a user