From b688079505c569aeb021b72255faf5f5b0bcb9b8 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Mon, 8 Jul 2013 05:51:37 +0000 Subject: [PATCH 1/2] * small qrcode image. --- module/misc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/misc/control.php b/module/misc/control.php index 6482af7e77..7d1d142705 100644 --- a/module/misc/control.php +++ b/module/misc/control.php @@ -132,6 +132,6 @@ class misc extends control $ciqrcode = $this->app->loadClass('qrcode'); $loginAPI = common::getSysURL() . $this->config->webRoot; if($this->loadModel('user')->isLogon()) $loginAPI .= "?sid=" . session_ID(); - QRcode::png($loginAPI, false, 4, 11); + QRcode::png($loginAPI, false, 4, 9); } } From 9e1a902ffb7edb6d17776d4bc928611d5597d72f Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 8 Jul 2013 06:15:54 +0000 Subject: [PATCH 2/2] * revert for search. --- module/search/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/search/model.php b/module/search/model.php index 0f94dd5b7c..543898b13b 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -58,7 +58,7 @@ class searchModel extends model $valueName = "value$i"; /* Skip empty values. */ - if($this->post->$valueName == '') continue; + if($this->post->$valueName == false) continue; if($this->post->$valueName == 'null') $this->post->$valueName = ''; // Null is special, stands to empty. /* Set and or. */