+ add 4.2.beta tag.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user