Fix unset offset 0 warning
Merge pull request #2 from blatin/7.x-2.x

Fix illegal offset 0 warning