修改了评审意见调用的逻辑
This commit is contained in:
parent
5ba5652fe5
commit
a94f95813c
|
@ -960,6 +960,8 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
$wheresql[] = " md.uuid='$uuid' ";
|
$wheresql[] = " md.uuid='$uuid' ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$wheresql[]=' r.status>-1 ';
|
||||||
|
|
||||||
if(!empty($q) && !empty($search))
|
if(!empty($q) && !empty($search))
|
||||||
{
|
{
|
||||||
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
||||||
|
@ -1009,6 +1011,8 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
|
|
||||||
$wheresql = array();
|
$wheresql = array();
|
||||||
|
|
||||||
|
$wheresql[]=' r.status>-1 ';
|
||||||
|
|
||||||
if(!empty($q) && !empty($search))
|
if(!empty($q) && !empty($search))
|
||||||
{
|
{
|
||||||
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
||||||
|
@ -1112,6 +1116,8 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
|
|
||||||
$wheresql = array();
|
$wheresql = array();
|
||||||
|
|
||||||
|
$wheresql[]=' r.status>-1 ';
|
||||||
|
|
||||||
if(!empty($q) && !empty($search))
|
if(!empty($q) && !empty($search))
|
||||||
{
|
{
|
||||||
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$q) || !is_numeric($search))
|
||||||
|
|
Loading…
Reference in New Issue