Fix getItemById()

It was missing a necessary parameter.
Merge pull request #1196 from derekcicerone/patch-25

Fix getItemById()