kopia lustrzana https://github.com/magicbug/Cloudlog
[QSLPrint] Fixed marking of QSLs as sent when station location was all.
rodzic
42206c55fe
commit
c750d04848
|
@ -115,8 +115,8 @@ class QSLPrint extends CI_Controller {
|
||||||
|
|
||||||
function qsl_printed() {
|
function qsl_printed() {
|
||||||
|
|
||||||
if ($this->uri->segment(3) == 'All') {
|
if ($this->uri->segment(3) == 'all') {
|
||||||
$station_id = NULL;
|
$station_id = 'All';
|
||||||
} else {
|
} else {
|
||||||
$station_id = $this->security->xss_clean($this->uri->segment(3));
|
$station_id = $this->security->xss_clean($this->uri->segment(3));
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Qslprint_model extends CI_Model {
|
||||||
|
|
||||||
if ($station_id2 == NULL) {
|
if ($station_id2 == NULL) {
|
||||||
$this->db->where("station_id", $station_id);
|
$this->db->where("station_id", $station_id);
|
||||||
} else {
|
} else if ($station_id2 != 'All') {
|
||||||
$this->db->where("station_id", $station_id2);
|
$this->db->where("station_id", $station_id2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue