Fix bug if $cPath == 0

If  $cPath == 0 in url like this: http://localhost/oscom/product_info.php?cPath=0&products_id=15 bm_categories gives an error