From 616a61e3d82ce51d1da406dba69276f56c409a85 Mon Sep 17 00:00:00 2001 From: Richard Rudy Date: Mon, 8 Dec 2014 10:39:10 -0500 Subject: [PATCH] UPDATE: Fix IDX Code Correct Updated DDF MLSUpdate/check code to be compatible with IDX (blank the parameter array) --- code/Controllers/RETS_Controller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/Controllers/RETS_Controller.php b/code/Controllers/RETS_Controller.php index 40dbeb9..642db71 100644 --- a/code/Controllers/RETS_Controller.php +++ b/code/Controllers/RETS_Controller.php @@ -172,6 +172,7 @@ public function MLSUpdate() { $query = "(ID=*)"; } else { $query = "(Status = A)"; + $retsparams = array(); } @@ -298,6 +299,8 @@ public function MLSUpdate() { public function MLSClean($clean) { $retsConfig = $this->getRetsConfig(); + //Debug::show($clean); + $sqlQuery = new SQLQuery(); $sqlQuery->setFrom('MLSListing'); $sqlQuery->setSelect('ID');