Fixing PHP warning message for empty price var

Fixes #375