mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-19 10:28:33 +00:00
fix(array): Array.from string delimiter
This commit is contained in:
1 parent
6a24f9b971
commit
189306d5aa
1 file changed
+1
-1
@@ -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