Commit f2602540 by Francisco Salazar

Reparacion de bug en info del producto

parent d7745025
......@@ -275,7 +275,7 @@ class AdminProductController extends Controller
public function extraInfo(RequestProductInfo $request)
{
$info = ProductInfo::find($request->product_id);
$info = ProductInfo::where("product_id", $request->product_id)->first();;
if ($info == null) {
$info = new ProductInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment