From 853ae766066c13ecf8fb2baa7fae8b5a4451cca9 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 16 Jan 2018 10:30:53 -0500 Subject: [PATCH] changing the for sale front page list check for visible changing visible to active --- models/front/forSale/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/front/forSale/list.php b/models/front/forSale/list.php index 9b14149..143e137 100644 --- a/models/front/forSale/list.php +++ b/models/front/forSale/list.php @@ -110,7 +110,7 @@ class GlmMembersFront_forSale_list extends GlmDataForSale if (isset($_REQUEST['option']) && trim($_REQUEST['option']) != '') { $option = $_REQUEST['option']; } - $where .= "CURDATE() <= DATE_ADD(updated, INTERVAL item_expiration DAY) AND visible = true"; + $where .= "CURDATE() <= DATE_ADD(updated, INTERVAL item_expiration DAY) AND active = true"; $item_data = $this->getList($where); $view_file = 'list'; -- 2.17.1