fixed error "Access to undefined property Categories::id"
Merge pull request #229 from web777/master

fixed error "Access to undefined property Categories::id"