FIX: no destacaba
This commit is contained in:
@ -205,7 +205,7 @@ class Producto extends Model {
|
||||
$destacados = json_decode(trim(file_get_contents($filename)));
|
||||
|
||||
$changed = false;
|
||||
if ($this->destacado()) {
|
||||
if (!$this->destacado()) {
|
||||
foreach ($destacados as $i => $id) {
|
||||
if ($id == $this->id) {
|
||||
unset($destacados[$i]);
|
||||
|
Reference in New Issue
Block a user