Fixes undefined index error when populating index #196

Merged
merged 1 commit into from Nov 29, 2012

Projects

None yet

2 participants

@daFish

Due to the support of multiple servers in Elastica before this fix the population command fails with an error: Notice: Undefined offset: 0 in /opt/local/apache2/htdocs/fmdb/vendor/ruflin/Elastica/lib/Elastica/Request.php line 182. This is due to the fact that the server-array is passed with an associated index. This fix changes this to an numeric index.

@richardmiller richardmiller merged commit 9b5c26d into FriendsOfSymfony:master Nov 29, 2012
@richardmiller

Thanks

@daFish

You're very welcome. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment