getProduct bugfix

Small fix for a PHP inheritance error message when running in strict mode