diff --git a/application/controllers/logbook.php b/application/controllers/logbook.php index 75847c95..64607aac 100644 --- a/application/controllers/logbook.php +++ b/application/controllers/logbook.php @@ -122,6 +122,7 @@ class Logbook extends CI_Controller { if($this->logbook_model->call_qra($qra)) { echo $this->logbook_model->call_qra($qra); } else { + echo "callbook info:"; if ($this->config->item('callbook') == "qrz" && $this->config->item('qrz_username') != null && $this->config->item('qrz_password') != null) { // Lookup using QRZ $this->load->library('qrz'); diff --git a/application/libraries/hamqth.php b/application/libraries/hamqth.php index 3035280e..20cf8936 100644 --- a/application/libraries/hamqth.php +++ b/application/libraries/hamqth.php @@ -10,7 +10,7 @@ class Hamqth { // Return session key public function session($username, $password) { // URL to the XML Source - $xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.';p='.$password; + $xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.$password; // CURL Functions $ch = curl_init(); @@ -33,7 +33,7 @@ class Hamqth { $ci = & get_instance(); // URL to the XML Source - $xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.';p='.$password; + $xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.$password; // CURL Functions $ch = curl_init();