Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Uninitialized string offset: 2" while encode empty array #32

Closed
bpahan opened this issue Jan 20, 2015 · 1 comment
Closed

"Uninitialized string offset: 2" while encode empty array #32

bpahan opened this issue Jan 20, 2015 · 1 comment

Comments

@bpahan
Copy link

bpahan commented Jan 20, 2015

$hashInstance = new \Hashids\Hashids($salt, 6, $alphabet);
echo $hashInstance->encode(array());
Notice: Uninitialized string offset: 2 in ...\vendor\hashids\hashids\lib\Hashids\Hashids.php on line 224
p2kezm
@jd327
Copy link
Collaborator

jd327 commented Jan 21, 2015

Uh oh :] Nice catch, thank you. 4412483

@jd327 jd327 closed this as completed Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants