From 5510766ecb3c86ac96b85e5d32f5210ca42c1efa Mon Sep 17 00:00:00 2001 From: Aldarien Date: Fri, 29 May 2020 20:31:50 -0400 Subject: [PATCH] FIX: imagenes en producto --- src/Producto.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Producto.php b/src/Producto.php index 69da489..3a038bc 100644 --- a/src/Producto.php +++ b/src/Producto.php @@ -87,9 +87,9 @@ class Producto extends Model { if ($file->isDir()) { continue; } - $producto->imagenes []= $file->getFilename(); + $this->imagenes []= $file->getFilename(); } - sort($producto->imagenes); + sort($this->imagenes); } } return $this->imagenes;