stock field value is getting set to 0 or -1 depending on c_stock line 145 this '$current_stock', or this $current_stock,

Did a little clean up