From 693b55749ab3391f814f73ac73d4fe465d207387 Mon Sep 17 00:00:00 2001 From: pmbaldha Date: Wed, 18 Nov 2015 19:53:41 +0530 Subject: [PATCH 1/2] RETS version 1.8 added --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bd3fa0b..d08a96e 100644 --- a/index.php +++ b/index.php @@ -965,7 +965,7 @@ function code_login_page() { $login_url = $_REQUEST['login_url']; } -$possible_versions = array("1.0","1.5","1.7","1.7.2"); +$possible_versions = array("1.0","1.5","1.7","1.7.2","1.8"); $version_options = ""; foreach ($possible_versions as $version) { if ($version == $rets_version) { From 348314584e8be1860c7967611d816d6bc787ec6b Mon Sep 17 00:00:00 2001 From: pmbaldha Date: Wed, 18 Nov 2015 20:40:07 +0530 Subject: [PATCH 2/2] 3 notice resolved on rets login --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index d08a96e..1b85370 100644 --- a/index.php +++ b/index.php @@ -960,9 +960,9 @@ function code_login_page() { else { $user_agent = "RETSMD/1.0"; $rets_version = "1.5"; - $username = $_REQUEST['username']; - $password = $_REQUEST['password']; - $login_url = $_REQUEST['login_url']; + $username = isset($_REQUEST['username']) ? $_REQUEST['username'] : ""; + $password = isset($_REQUEST['password']) ? $_REQUEST['password'] : "" ; + $login_url = isset($_REQUEST['login_url']) ? $_REQUEST['login_url'] : ""; } $possible_versions = array("1.0","1.5","1.7","1.7.2","1.8");